Skip to content

Commit

Permalink
Merge pull request #4230 from yt-project/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
neutrinoceros committed Nov 28, 2022
2 parents 45dc49b + 96ec6da commit 1f0084d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:
--max-py-version=3.11,
]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -52,7 +52,7 @@ repos:
name: isort (cython)
types: [cython]
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 6.0.0
hooks:
- id: flake8
additional_dependencies: [
Expand Down Expand Up @@ -83,7 +83,7 @@ repos:
]

- repo: https://github.com/MarcoGorelli/cython-lint
rev: v0.8.1
rev: v0.9.1
hooks:
- id: cython-lint
args: [--no-pycodestyle]
13 changes: 7 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,12 @@ exclude = doc,
yt/utilities/lodgeit.py,
yt/mods.py,
yt/visualization/_colormap_data.py,
ignore = E203, # Whitespace before ':' (black compatibility)
E266, # Too many leading '#' for block comment
E302, # Expected 2 blank lines, found 0
E501, # Line too long (let Black deal with line-lenght)
E741, # Do not use variables named 'I', 'O', or 'l'
W503, # Line break occurred before a binary operator (black compatibility)
ignore =
E203,
E266,
E302,
E501,
E741,
W503,
enable-extensions = G # flake8-logging-format (extension is disabled by default)
jobs = 8

0 comments on commit 1f0084d

Please sign in to comment.