File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -14,25 +14,25 @@ profile = "black"
14
14
known_third_party = [" pytest" ]
15
15
16
16
[tool .pylint ]
17
- # Settings copied from
18
- # cmu-delphi/covidcast-indicators/_delphi_utils_python/.pylintrc
19
- [ tool . pylint . 'MESSAGES CONTROL' ]
20
- max-line-length = 120
21
- disable = [
22
- ' logging-format-interpolation ' ,
23
- # Allow pytest functions to be part of a class
24
- ' no-self-use ' ,
25
- ' too-many-locals ' ,
26
- ' too-many-arguments ' ,
27
- # Allow pytest classes to have one test
28
- ' too-few-public-methods ' ,
29
- ]
17
+ [ tool . pylint . main ]
18
+ max-line-length = 120
19
+ disable = [
20
+ ' logging-format-interpolation ' ,
21
+ # Allow pytest functions to be part of a class
22
+ ' no-self-use ' ,
23
+ ' too-many-locals ' ,
24
+ ' too-many-arguments ' ,
25
+ ' too-many-branches ' ,
26
+ # Allow pytest classes to have one test
27
+ ' too-few-public-methods ' ,
28
+ ]
29
+ enable = ' useless-suppression '
30
30
31
- [tool .pylint .'BASIC' ]
32
- # Allow arbitrarily short-named variables.
33
- variable-rgx = [ ' [a-z_][a-z0-9_]*' ]
34
- argument-rgx = [ ' [a-z_][a-z0-9_]*' ]
35
- attr-rgx = [ ' [a-z_][a-z0-9_]*' ]
31
+ [tool .pylint .basic ]
32
+ # Allow arbitrarily short-named variables.
33
+ variable-rgx = ' [a-z_][a-z0-9_]*'
34
+ argument-rgx = ' [a-z_][a-z0-9_]*'
35
+ attr-rgx = ' [a-z_][a-z0-9_]*'
36
36
37
- [tool .pylint .'DESIGN' ]
38
- ignored-argument-names = [' (_.*|run_as_module)' ]
37
+ [tool .pylint .design ]
38
+ ignored-argument-names = [' (_.*|run_as_module)' ]
You can’t perform that action at this time.
0 commit comments