-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
51 lines (45 loc) · 1.29 KB
/
tox.ini
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
50
51
[flake8]
; darglint - ?
require-plugins=
darglint
dlint
; flake8-bandit
flake8-bugbear
flake8-builtins
flake8-comprehensions
flake8-docstrings
; flake8-eradicate
; flake8-import-order
flake8-pie
; flake8-quotes
flake8-simplify
; flake8-string-format
pep8-naming
; inline-quotes='"'
max-line-length=120
ignore=
; General:
; Line break before binary operator
W503
; Missing docstring
D1
; First line should end with a period (comments)
D400
; Use precise exception handlers.
PIE786
; Loop control variable not used within the loop body. If this is intended, start the name with an underscore.
B007
; Found for loop that reassigns the iterable it is iterating with each iterable value
B020
; Unnecessary generator - rewrite as a set comprehension
C401
; Unnecessary tuple literal - rewrite as a set literal.
C405
; Only for Advent of Code:
; I mostly follow these rules, but since I want to keep solutions code clean,
; I want to add neither extra lines of code nor `# noqa` comments to comply with the linter
; Variable in global scope should not be mixedCase
; (Sometimes, I want to use variables in the same case as they were in the puzzle statement)
N816
[darglint]
strictness=long