mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Bump test dependencies; improve pycln config (#9197)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
repos:
|
||||
- repo: https://github.com/hadialqattan/pycln
|
||||
rev: v2.1.1 # must match requirements-tests.txt
|
||||
rev: v2.1.2 # must match requirements-tests.txt
|
||||
hooks:
|
||||
- id: pycln
|
||||
args: [--all, stubs, stdlib, tests, scripts]
|
||||
args: [--config=pyproject.toml, stubs, stdlib, tests, scripts]
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 22.10.0 # must match requirements-tests.txt
|
||||
hooks:
|
||||
|
||||
@@ -94,7 +94,7 @@ That being said, if you *want* to run the checks locally when you commit,
|
||||
you're free to do so. Either run `pycln`, `black` and `isort` manually...
|
||||
|
||||
```
|
||||
pycln --all .
|
||||
pycln --config=pyproject.toml .
|
||||
isort .
|
||||
black .
|
||||
```
|
||||
|
||||
@@ -55,3 +55,7 @@ extra_standard_library = [
|
||||
"opcode",
|
||||
"pyexpat",
|
||||
]
|
||||
|
||||
[tool.pycln]
|
||||
all = true
|
||||
disable_all_dunder_policy = true
|
||||
|
||||
@@ -5,12 +5,12 @@ flake8-bugbear==22.10.27 # must match .pre-commit-config.yaml
|
||||
flake8-noqa==1.2.9 # must match .pre-commit-config.yaml
|
||||
flake8-pyi==22.10.0 # must match .pre-commit-config.yaml
|
||||
isort==5.10.1 # must match .pre-commit-config.yaml
|
||||
mypy==0.990
|
||||
mypy==0.991
|
||||
packaging==21.3
|
||||
pathspec
|
||||
pycln==2.1.1 # must match .pre-commit-config.yaml
|
||||
pycln==2.1.2 # must match .pre-commit-config.yaml
|
||||
pyyaml==6.0
|
||||
pytype==2022.10.26; platform_system != "Windows" and python_version < "3.11"
|
||||
pytype==2022.11.10; platform_system != "Windows" and python_version < "3.11"
|
||||
termcolor>=2
|
||||
tomli==2.0.1
|
||||
tomlkit==0.11.6
|
||||
|
||||
Reference in New Issue
Block a user