From: Mike Bayer Date: Thu, 20 Jan 2022 18:31:29 +0000 (-0500) Subject: add pep484 target X-Git-Tag: rel_1_7_6~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52dee10f107a5d9295236fa62dc7094dc3f0b023;p=thirdparty%2Fsqlalchemy%2Falembic.git add pep484 target this is now the mypy target that the jenkins gerrit job will access. Change-Id: Iaa2bdbe8c4da683d7704a50be8ff3d9e7f887e09 --- diff --git a/.github/workflows/run-on-pr.yaml b/.github/workflows/run-on-pr.yaml index 22c671d4..e3bc5f29 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 cb21a24a..5f7701d3 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 c6c61657..f554f630 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=