mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 07:08:10 +00:00
update mypy and pin version
This commit is contained in:
parent
3046a628fd
commit
19aa7aeeb7
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -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:
|
||||
|
@ -6,7 +6,7 @@ import pyparsing as pp
|
||||
from . import base
|
||||
|
||||
|
||||
@total_ordering
|
||||
@total_ordering # type: ignore
|
||||
class _Action(base.Token):
|
||||
|
||||
"""
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user