Skip to content
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

[pre-commit.ci] pre-commit autoupdate #827

Merged
merged 4 commits into from
Dec 6, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

# Note: there cannot be spaces after comma's here
ignore =
W503,W504 # line break after binary operator
E203 # E203 whitespace before ':' (not PEP8 compliant anyway)
C408 # allow dict() over literal {}
W503,W504
E203
C408

max-line-length = 88
select = C,E,F,W,B,B950 # black formatting options
Expand Down
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exclude: '.*.weldx$|.*.wx$|.*.asdf$'
repos:
# ----- general formatting -----
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
Expand Down Expand Up @@ -43,16 +43,16 @@ repos:
- id: isort
additional_dependencies: ["toml"]
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 6.0.0
hooks:
- id: flake8
additional_dependencies: [
'flake8-bugbear==21.11.29',
'flake8-bugbear==22.10.27',
'flake8-coding==1.3.2',
'flake8-comprehensions==3.10.0',
'flake8-deprecated==1.3',
'flake8-print==4.0.0',
'flake8-quotes==3.3.1',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not currently compatible with flake8 6.0.0

zheller/flake8-quotes#110

'flake8-comprehensions==3.10.1',
'flake8-deprecated==2.0.1',
'flake8-print==5.0.0',
# 'flake8-quotes==3.3.1',
]
- repo: https://github.com/pycqa/pydocstyle
rev: 6.1.1
Expand Down