mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 05:13:16 -07:00
Add flake8-docstrings to tox.ini
This commit is contained in:
parent
169fcaae4a
commit
a8043d0259
1 changed files with 17 additions and 0 deletions
17
tox.ini
17
tox.ini
|
@ -38,6 +38,22 @@ ignore =
|
||||||
; E501 line too long
|
; E501 line too long
|
||||||
E501
|
E501
|
||||||
|
|
||||||
|
; -- flake8-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
|
||||||
|
; D104 Missing docstring in public package
|
||||||
|
; D105 Missing docstring in magic method
|
||||||
|
; D107 Missing docstring in __init__
|
||||||
|
; D200 One-line docstring should fit on one line with quotes
|
||||||
|
; D202 No blank lines allowed after function docstring
|
||||||
|
; D205 1 blank line required between summary line and description
|
||||||
|
; D400 First line should end with a period
|
||||||
|
; D401 First line should be in imperative mood
|
||||||
|
; D402 First line should not be the function's "signature"
|
||||||
|
D100, D101, D102, D103, D104, D105, D107
|
||||||
|
|
||||||
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
|
||||||
|
@ -51,6 +67,7 @@ deps =
|
||||||
flake8
|
flake8
|
||||||
flake8-commas
|
flake8-commas
|
||||||
flake8-comprehensions
|
flake8-comprehensions
|
||||||
|
flake8-docstrings
|
||||||
flake8-quotes
|
flake8-quotes
|
||||||
skip_install = true
|
skip_install = true
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue