FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
GitPython/.flake8 at main · Unpublished/GitPython · GitHub
Unpublished
GitPython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
GitPython
/
.flake8
Copy path
More file actions
More file actions
Latest commit
History
History
History
38 lines (32 loc) · 1.09 KB
Breadcrumbs
GitPython
/
.flake8
Copy path
File metadata and controls
38 lines (32 loc) · 1.09 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
36
37
38
[flake8]
show-source
= True
count
= True
statistics
= True
#
E265 = comment blocks like @{ section, which it can't handle
#
E266 = too many leading '#' for block comment
#
E731 = do not assign a lambda expression, use a def
#
W293 = Blank line contains whitespace
#
W504 = Line break after operator
#
E704 = multiple statements in one line - used for @override
#
TC002 = move third party import to TYPE_CHECKING
#
ANN = flake8-annotations
#
TC, TC2 = flake8-type-checking
#
D = flake8-docstrings
#
select = C,E,F,W ANN, TC, TC2 # to enable code. Disabled if not listed, including builtin codes
enable-extensions
= TC, TC2
#
only needed for extensions not enabled by default
ignore
= E265,E266,E731,E704,
W293, W504,
ANN0 ANN1 ANN2,
TC002,
TC0, TC1, TC2
#
B,
A,
D,
RST, RST3
exclude
= .tox,.venv,build,dist,doc,git/ext/,test
rst-roles
=
#
for flake8-RST-docstrings
attr,class,func,meth,mod,obj,ref,term,var
#
used by sphinx
min-python-version
= 3.7.0
#
for `black` compatibility
max-line-length
= 120
extend-ignore
= E203,W503
Back
|
FazBrowse Home
|
New Git URL