Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions lint-configs/python/.flake8
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
[flake8]
max-line-length = 100
ignore =
E128,E402,E722,W504,
H101,H104,H105,H106,H107,H108,H109,
H201,H202,H203,H204,H205,H206,H207,H208,H209,H234,H238,
H301,H302,H303,H304,H305,H306,H307,H308,H309,
H401,H402,H403,H404,H405,H406,H407,H408,H409,
H501,H502,H503,H504,H505,H506,H507,H508,H509,
H601,H602,H603,H604,H605,H606,H607,H608,H609,
H701,H702,H703,H704,H705,H706,H707,H708,H709,
H801,H802,H803,H804,H805,H806,H807,H808,H809,
H901,H902,H903,H904,H905,H906,H907,H908,H909
E128,E402,E722,W504,
H101,H104,H105,H106,H107,H108,H109,
H201,H202,H203,H204,H205,H206,H207,H208,H209,H210,H234,H238,
H301,H302,H303,H304,H305,H306,H307,H308,H309,
H401,H402,H403,H404,H405,H406,H407,H408,H409,
H501,H502,H503,H504,H505,H506,H507,H508,H509,
H601,H602,H603,H604,H605,H606,H607,H608,H609,
H701,H702,H703,H704,H705,H706,H707,H708,H709,
H801,H802,H803,H804,H805,H806,H807,H808,H809,
H901,H902,H903,H904,H905,H906,H907,H908,H909
exclude=*.egg/*,build,dist

# Configuration for flake8-copyright extension
copyright-check = True
copyright-min-file-size = 1
select = E,F,W,C
# NOTE: This requires flake8 >= 3.0.0 to work correctly.
# If old version is used (< 3.0.0), it will select all the errors and it wont ignore ones
# listed above as part of ignore list
select = E,F,W,C,H