Skip to content

Commit

Permalink
adjust pylint's duplicate-code detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Montellese committed Oct 11, 2021
1 parent 94f1cbf commit e4d6572
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,20 @@ max_line_length = 120
[tool.isort]
line_length = 120

[tool.pylint]
[tool.pylint.MASTER]
init-hook='import sys; sys.path.append("./smartmeter_datacollector")'
[tool.pylint.FORMAT]
max-line-length=120
[tool.pylint."MESSAGES CONTROL"]
disable = [
"missing-module-docstring",
"missing-class-docstring",
"missing-function-docstring"
]
[tool.pylint.MASTER]
init-hook='import sys; sys.path.append("./smartmeter_datacollector")'

[tool.pylint.FORMAT]
max-line-length=120

[tool.pylint."MESSAGES CONTROL"]
disable = [
"missing-module-docstring",
"missing-class-docstring",
"missing-function-docstring"
]

[tool.pylint.SIMILARITIES]
ignore-comments = true
ignore-docstrings = true
ignore-imports = true

0 comments on commit e4d6572

Please sign in to comment.