Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#827)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](pre-commit/pre-commit-hooks@v4.3.0...v4.4.0)
- [github.com/PyCQA/flake8: 5.0.4 → 6.0.0](PyCQA/flake8@5.0.4...6.0.0)

* updates for flake8 6.0.0

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Cagtay Fabry <43667554+CagtayFabry@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] and CagtayFabry committed Dec 6, 2022
1 parent d14e009 commit 2dbe7ba
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
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',
'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

0 comments on commit 2dbe7ba

Please sign in to comment.