-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.flake8
executable file
·35 lines (35 loc) · 1.06 KB
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[flake8]
min_python_version = 3.10.0
max-line-length = 120
ignore =
# Whitespace before ':' (E203)
E203
# Line lengths are recommended to be no greater than 79 characters. (E501)
E501
# Line break occurred before a binary operator (W503)
W503
# Line break occurred after a binary operator (W504) - both are required
W504
# Ignore mispelled words
SC200
# Missing docstring in public package
D104
# No blank space after docstring
D202
# I complain about unused arguments for class methods because I am stupid
U100
# Allow function names to end with their first variable name
FNE008
# Unneccessary variable assignment before return statement
R504
# First line should be in imperative mood
D401
# First word on first line should be capitalized - no we have the method name...
D403
max-complexity = 10
# Enforce numpy docstring format
docstring-convention = numpy
# Spell check comments and variable names
dictionaries = en_US,python,technical,pandas
# Make ppl use f-strings
format-greedy = 2