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 39 40 41 42 43 44 45 46 47 48 49
|
[flake8]
# Would like to enable this in future...
# doctests = True
ignore =
# =======================
# flake: E###, F###, W###
# =======================
# pycodestyle v2.4.0 default ignore is E121,E123,E126,E226,E24,E704,W503,W504
# flake8 v3.6.0 default ignore is E121,E123,E126,E226,E24,E704,W503,W504
# These are ignored by default:
E122,E123,E126,W503,W504,
# These are not ignored by default:
# E127 continuation line over-indented for visual indent
# E128 continuation line under-indented for visual indent
# E501 line too long (XX > 79 characters)
# E731 do not assign a lambda expression, use a def
# F401 module imported but unused
# F841 local variable name is assigned to but never used
# TODO: Fix some of these?
E501,E731,F401,F841,
# =====================================
# pydocstyle: D1## - Missing Docstrings
# =====================================
# D100 Missing docstring in public module
# D101 Missing docstring in public class
# D102 Missing docstring in public method
# D103 Missing docstring in public function
# D105 Missing docstring in magic method
# TODO: Fix some of these?
D100,D101,D102,D103,D105,
# ====================================
# pydocstyle: D2## - Whitespace Issues
# ====================================
# D203 1 blank line required before class docstring
# D211 No blank lines allowed before class docstring
# We ignore D203 deliberately in favour of passing D211,
D203,
# ====================
# flake8-bugbear: B###
# ====================
# B007 Loop control variable not used within the loop body.
# If this is intended, start the name with an underscore.
B007,
# ================================================
# flake8-commas: C#### (in case installed locally)
# ================================================
# C812 missing trailing comma
# C815 missing trailing comma in Python 3.5+
C812,C815
|