mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
Add flake8-future-import to tox.ini
This commit is contained in:
parent
e98c29010a
commit
f42cc020ea
1 changed files with 18 additions and 1 deletions
19
tox.ini
19
tox.ini
|
@ -34,6 +34,8 @@ max-line-length = 79
|
||||||
max-doc-length = 79
|
max-doc-length = 79
|
||||||
verbose = 2
|
verbose = 2
|
||||||
statistics = True
|
statistics = True
|
||||||
|
min-version = 2.7
|
||||||
|
require-code = True
|
||||||
exclude =
|
exclude =
|
||||||
.github/
|
.github/
|
||||||
.tox/
|
.tox/
|
||||||
|
@ -65,6 +67,20 @@ ignore =
|
||||||
; D402 First line should not be the function's "signature"
|
; D402 First line should not be the function's "signature"
|
||||||
D100, D101, D102, D103, D104, D105, D107
|
D100, D101, D102, D103, D104, D105, D107
|
||||||
|
|
||||||
|
; -- flake8-future-import --
|
||||||
|
; x = 1 for missing, 5 for present
|
||||||
|
; FIx6 nested_scopes 2.2
|
||||||
|
; FIx7 generators 2.3
|
||||||
|
; FIx2 with_statement 2.6
|
||||||
|
; FIx1 absolute_import 3.0
|
||||||
|
; FIx0 division 3.0
|
||||||
|
; FIx3 print_function 3.0
|
||||||
|
; FIx4 unicode_literals 3.0
|
||||||
|
; FIx5 generator_stop 3.7
|
||||||
|
; ???? annotations 4.0
|
||||||
|
; FI90 __future__ import does not exist
|
||||||
|
FI50, FI51, FI53, FI54
|
||||||
|
|
||||||
per-file-ignores =
|
per-file-ignores =
|
||||||
; F401 imported but unused
|
; F401 imported but unused
|
||||||
; E402 module level import not at top of file
|
; E402 module level import not at top of file
|
||||||
|
@ -83,6 +99,7 @@ deps =
|
||||||
flake8-commas
|
flake8-commas
|
||||||
flake8-comprehensions
|
flake8-comprehensions
|
||||||
flake8-docstrings
|
flake8-docstrings
|
||||||
|
flake8-future-import
|
||||||
flake8-quotes
|
flake8-quotes
|
||||||
skip_install = true
|
skip_install = true
|
||||||
commands =
|
commands =
|
||||||
|
@ -102,7 +119,7 @@ commands =
|
||||||
; -- flake8-bugbear --
|
; -- flake8-bugbear --
|
||||||
; B902 Invalid first argument used for instance method.
|
; B902 Invalid first argument used for instance method.
|
||||||
; B903 Data class should be immutable or use __slots__ to save memory.
|
; B903 Data class should be immutable or use __slots__ to save memory.
|
||||||
flake8 --select=B902,B903,E123,E226,E241,E242,E704,W504,W505
|
flake8 --select=B902,B903,E123,E226,E241,E242,E704,W504,W505
|
||||||
|
|
||||||
[coverage:run]
|
[coverage:run]
|
||||||
omit =
|
omit =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue