diff options
-rw-r--r-- | .github/workflows/main.yml | 2 | ||||
-rw-r--r-- | pathod/language/actions.py | 2 | ||||
-rwxr-xr-x | release/cibuild.py | 2 | ||||
-rw-r--r-- | setup.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b36d8c4f..fce4dcf3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,7 +31,7 @@ jobs: steps: - uses: actions/checkout@v1 - uses: actions/setup-python@v1 - - run: pip install mypy + - run: pip install mypy==0.770 - run: mypy . test: strategy: diff --git a/pathod/language/actions.py b/pathod/language/actions.py index 3e48f40d..916cd0aa 100644 --- a/pathod/language/actions.py +++ b/pathod/language/actions.py @@ -6,7 +6,7 @@ import pyparsing as pp from . import base -@total_ordering +@total_ordering # type: ignore class _Action(base.Token): """ diff --git a/release/cibuild.py b/release/cibuild.py index b2bad9a0..f2fc5470 100755 --- a/release/cibuild.py +++ b/release/cibuild.py @@ -474,7 +474,7 @@ def build_wininstaller(be: BuildEnviron): # pragma: no cover IB_SETUP.with_suffix(".tmp"), reporthook=report ) - shutil.move(IB_SETUP.with_suffix(".tmp"), IB_SETUP) + shutil.move(str(IB_SETUP.with_suffix(".tmp")), str(IB_SETUP)) click.echo("Install InstallBuilder...") subprocess.run([str(IB_SETUP), "--mode", "unattended", "--unattendedmodeui", "none"], check=True) @@ -94,7 +94,7 @@ setup( "asynctest>=0.12.0", "flake8>=3.7.8,<3.8", "Flask>=1.0,<1.2", - "mypy>=0.740,<0.741", + "mypy>=0.740,<0.771", "parver>=0.1,<2.0", "pytest-asyncio>=0.10.0,<0.11", "pytest-cov>=2.7.1,<3", |