Skip to content

Commit 3269efd

Browse files
committed
maint: simplify flake8 config
1 parent 45d4d6a commit 3269efd

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.flake8

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1+
# flake8 is used for linting Python code setup to automatically run with
2+
# pre-commit.
3+
#
4+
# ref: https://flake8.pycqa.org/en/latest/user/configuration.html
5+
#
16
[flake8]
2-
# Ignore style and complexity
37
# E: style errors
48
# W: style warnings
59
# C: complexity
6-
# F401: module imported but unused
7-
# F403: import *
8-
# F811: redefinition of unused `name` from line `N`
9-
# F841: local variable assigned but never used
10-
# E402: module level import not at top of file
11-
# I100: Import statements are in the wrong order
12-
# I101: Imported names are in the wrong order. Should be
13-
ignore = E, W, C, F401, F403, F811, F841, E402, I100, I101, D400
10+
# D: docstring warnings (unused pydocstyle extension)
11+
ignore = E, C, W, D

0 commit comments

Comments
 (0)