Skip to content

Commit

Permalink
fix: sync lint settings with covidcast-indicators
Browse files Browse the repository at this point in the history
  • Loading branch information
dshemetov committed Oct 25, 2023
1 parent 6d6a9ea commit cf40248
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@ profile = "black"
known_third_party = ["pytest"]

[tool.pylint]
# Settings copied from
# cmu-delphi/covidcast-indicators/_delphi_utils_python/.pylintrc
[tool.pylint.'MESSAGES CONTROL']
max-line-length = 120
disable = [
'logging-format-interpolation',
# Allow pytest functions to be part of a class
'no-self-use',
'too-many-locals',
'too-many-arguments',
# Allow pytest classes to have one test
'too-few-public-methods',
]
[tool.pylint.main]
max-line-length = 120
disable = [
'logging-format-interpolation',
# Allow pytest functions to be part of a class
'no-self-use',
'too-many-locals',
'too-many-arguments',
'too-many-branches',
# Allow pytest classes to have one test
'too-few-public-methods',
]
enable = 'useless-suppression'

[tool.pylint.'BASIC']
# Allow arbitrarily short-named variables.
variable-rgx = ['[a-z_][a-z0-9_]*']
argument-rgx = [ '[a-z_][a-z0-9_]*' ]
attr-rgx = ['[a-z_][a-z0-9_]*']
[tool.pylint.basic]
# Allow arbitrarily short-named variables.
variable-rgx = '[a-z_][a-z0-9_]*'
argument-rgx = '[a-z_][a-z0-9_]*'
attr-rgx = '[a-z_][a-z0-9_]*'

[tool.pylint.'DESIGN']
ignored-argument-names = ['(_.*|run_as_module)']
[tool.pylint.design]
ignored-argument-names = ['(_.*|run_as_module)']

0 comments on commit cf40248

Please sign in to comment.