summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>2022-12-27 09:01:43 +0100
committerGitHub <noreply@github.com>2022-12-27 09:01:43 +0100
commitd48be97ed381d500d0dd86e6807fc5ef61d753bd (patch)
tree6424906325c91988d4f3e6a48f6f8d5d01cba9c7
parent406dfbc8199e6c432c5032059fa82d76d4848cbc (diff)
downloadastroid-git-d48be97ed381d500d0dd86e6807fc5ef61d753bd.tar.gz
[pre-commit.ci] pre-commit autoupdate (#1928)
Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
-rw-r--r--.pre-commit-config.yaml2
-rw-r--r--setup.cfg10
2 files changed, 6 insertions, 6 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 66c5cc77..35fe7fca 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -50,7 +50,7 @@ repos:
args: [--safe, --quiet]
exclude: tests/testdata
- repo: https://github.com/PyCQA/flake8
- rev: 5.0.4
+ rev: 6.0.0
hooks:
- id: flake8
additional_dependencies:
diff --git a/setup.cfg b/setup.cfg
index c6be9f8f..19ab335a 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -9,11 +9,11 @@ license_files =
CONTRIBUTORS.txt
[flake8]
-extend-ignore =
- F401, # Unused imports
- E203, # Incompatible with black see https://github.com/psf/black/issues/315
- W503, # Incompatible with black
- B901 # Combine yield and return statements in one function
+# F401; Unused imports
+# E203; Incompatible with black see https://github.com/psf/black/issues/315
+# W503; Incompatible with black
+# B901; Combine yield and return statements in one function
+extend-ignore = F401, E203, W503, B901
max-line-length = 110
select = B,C,E,F,W,T4,B9
# Required for flake8-typing-imports (v1.12.0)