summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-01-20 13:31:29 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2022-01-20 13:33:22 -0500
commit52dee10f107a5d9295236fa62dc7094dc3f0b023 (patch)
treeb88ee85b04fe0f94c0be7a6fc80a58b3d2ca3467
parent85152025ddba1dbeb51b467f40eb36b795d2ca37 (diff)
downloadalembic-52dee10f107a5d9295236fa62dc7094dc3f0b023.tar.gz
add pep484 target
this is now the mypy target that the jenkins gerrit job will access. Change-Id: Iaa2bdbe8c4da683d7704a50be8ff3d9e7f887e09
-rw-r--r--.github/workflows/run-on-pr.yaml8
-rw-r--r--.github/workflows/run-test.yaml8
-rw-r--r--tox.ini8
3 files changed, 15 insertions, 9 deletions
diff --git a/.github/workflows/run-on-pr.yaml b/.github/workflows/run-on-pr.yaml
index 22c671d..e3bc5f2 100644
--- a/.github/workflows/run-on-pr.yaml
+++ b/.github/workflows/run-on-pr.yaml
@@ -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
diff --git a/.github/workflows/run-test.yaml b/.github/workflows/run-test.yaml
index cb21a24..5f7701d 100644
--- a/.github/workflows/run-test.yaml
+++ b/.github/workflows/run-test.yaml
@@ -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 c6c6165..f554f63 100644
--- 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=