mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 19:32:13 +08:00
Use environment marker to restrict flake8 install (#9510)
This commit is contained in:
2
.github/workflows/daily.yml
vendored
2
.github/workflows/daily.yml
vendored
@@ -43,7 +43,7 @@ jobs:
|
||||
cache: pip
|
||||
cache-dependency-path: requirements-tests.txt
|
||||
- name: Install dependencies
|
||||
run: pip install $(grep tomli== requirements-tests.txt) $(grep mypy== requirements-tests.txt)
|
||||
run: pip install $(grep mypy== requirements-tests.txt)
|
||||
- name: Run stubtest
|
||||
run: python tests/stubtest_stdlib.py
|
||||
|
||||
|
||||
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -94,7 +94,7 @@ jobs:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: pip
|
||||
cache-dependency-path: requirements-tests.txt
|
||||
- run: pip install $(grep mypy== requirements-tests.txt) packaging pathspec termcolor tomli typing-extensions
|
||||
- run: pip install -r requirements-tests.txt
|
||||
- run: python ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${{ matrix.python-version }}
|
||||
|
||||
regression-tests:
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
aiohttp==3.8.3
|
||||
black==22.12.0 # must match .pre-commit-config.yaml
|
||||
flake8==6.0.0 # must match .pre-commit-config.yaml
|
||||
flake8-bugbear==22.12.6 # must match .pre-commit-config.yaml
|
||||
flake8-noqa==1.3.0 # must match .pre-commit-config.yaml
|
||||
flake8-pyi==22.11.0 # must match .pre-commit-config.yaml
|
||||
isort==5.11.4 # must match .pre-commit-config.yaml
|
||||
black==22.12.0 # must match .pre-commit-config.yaml
|
||||
flake8==6.0.0; python_version >= "3.8" # must match .pre-commit-config.yaml
|
||||
flake8-bugbear==22.12.6; python_version >= "3.8" # must match .pre-commit-config.yaml
|
||||
flake8-noqa==1.3.0; python_version >= "3.8" # must match .pre-commit-config.yaml
|
||||
flake8-pyi==22.11.0; python_version >= "3.8" # must match .pre-commit-config.yaml
|
||||
isort==5.11.4 # must match .pre-commit-config.yaml
|
||||
mypy==0.991
|
||||
packaging==22.0
|
||||
pathspec
|
||||
pycln==2.1.2 # must match .pre-commit-config.yaml
|
||||
pycln==2.1.2 # must match .pre-commit-config.yaml
|
||||
pyyaml==6.0
|
||||
pytype==2023.1.10; platform_system != "Windows" and python_version < "3.11"
|
||||
termcolor>=2
|
||||
|
||||
Reference in New Issue
Block a user