Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Bump test dependencies; improve pycln config #9197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 4 .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion 2 CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
```
Expand Down
4 changes: 4 additions & 0 deletions 4 pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,7 @@ extra_standard_library = [
"opcode",
"pyexpat",
]

[tool.pycln]
all = true
disable_all_dunder_policy = true
6 changes: 3 additions & 3 deletions 6 requirements-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.