tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

flake8.ini (1155B)


      1 [flake8]
      2 select = E,W,F,N
      3 # E128: continuation line under-indented for visual indent
      4 # E129: visually indented line with same indent as next logical line
      5 # E226: missing whitespace around arithmetic operator
      6 # E231: missing whitespace after ‘,’, ‘;’, or ‘:’
      7 # E251: unexpected spaces around keyword / parameter equals
      8 # E265: block comment should start with ‘# ‘
      9 # E302: expected 2 blank lines, found 0
     10 # E303: too many blank lines (3)
     11 # E305: expected 2 blank lines after end of function or class
     12 # E402: module level import not at top of file
     13 # E731: do not assign a lambda expression, use a def
     14 # W504: line break after binary operator
     15 # W601: .has_key() is deprecated, use ‘in’
     16 # N801: class names should use CapWords convention
     17 # N802: function name should be lowercase
     18 # N806: variable in function should be lowercase
     19 # N818: exception should be named with an Error suffix
     20 ignore = E128,E129,E226,E231,E251,E265,E302,E303,E305,E402,E731,W504,W601,N801,N802,N806,N818
     21 exclude =
     22    .tox,
     23    third_party,
     24    wptserve/docs/conf.py,
     25    wptserve/tests/functional/docroot/invalid.py
     26    wptserve/wptserve/cgi/
     27 max-line-length = 141