]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
add pep484 target
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 20 Jan 2022 18:31:29 +0000 (13:31 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 20 Jan 2022 18:33:22 +0000 (13:33 -0500)
this is now the mypy target that the jenkins gerrit
job will access.

Change-Id: Iaa2bdbe8c4da683d7704a50be8ff3d9e7f887e09

.github/workflows/run-on-pr.yaml
.github/workflows/run-test.yaml
tox.ini

index 22c671d41cbb900d1c0e4389f5544f70aa21e75d..e3bc5f29897901d9829a89c425522fca7a7f0471 100644 (file)
@@ -50,8 +50,8 @@ jobs:
       - name: Run tests
         run: tox -e py-${{ matrix.sqlalchemy }}
 
-  run-mypy:
-    name: mypy-${{ matrix.python-version }}-${{ matrix.os }}
+  run-pep484:
+    name: pep484-${{ matrix.python-version }}-${{ matrix.os }}
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
@@ -78,5 +78,5 @@ jobs:
           pip install --upgrade tox setuptools
           pip list
 
-      - name: Run mypy
-        run: tox -e mypy
+      - name: Run pep484
+        run: tox -e pep484
index cb21a24aa8aa1d5c89b8d211d7b2c4387058cd82..5f7701d3839bfa82f039250d8bd8d7ef4f57c9b9 100644 (file)
@@ -64,8 +64,8 @@ jobs:
       - name: Run tests
         run: tox -e py-${{ matrix.sqlalchemy }}
 
-  run-mypy:
-    name: mypy-${{ matrix.python-version }}-${{ matrix.os }}
+  run-pep484:
+    name: pep484-${{ matrix.python-version }}-${{ matrix.os }}
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
@@ -93,5 +93,5 @@ jobs:
           pip install --upgrade tox setuptools
           pip list
 
-      - name: Run mypy
-        run: tox -e mypy
+      - name: Run tox pep484
+        run: tox -e pep484
diff --git a/tox.ini b/tox.ini
index c6c616578afa58e4d189ff1b316d5eae9e33eb79..f554f6306222f377f1758833da7376e68ded51ed 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -58,7 +58,7 @@ commands=
   {oracle,mssql}: python reap_dbs.py db_idents.txt
 
 
-[testenv:mypy]
+[testenv:pep484]
 basepython = python3
 deps=
     mypy
@@ -71,6 +71,12 @@ deps=
     pytest
 commands = mypy ./alembic/ --exclude alembic/templates
 
+[testenv:mypy]
+basepython = {[testenv:pep484]basepython}
+deps=
+    {[testenv:pep484]deps}
+commands = {[testenv:pep484]commands}
+
 [testenv:pep8]
 basepython = python3
 deps=