Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,38 @@ Download = "https://pypi.org/project/OMPython/#files"
max-line-length = 120
extend-ignore = [
]

[tool.pylint.main]
# In verbose mode, extra non-checker-related info will be displayed.
# verbose = true
ignore = [
]
ignore-paths = [
]
ignore-patterns = [
]

[tool.pylint.format]
# Maximum number of characters on a single line.
max-line-length = 120

[tool.pylint.reports]
reports = true

[tool.pylint.'MESSAGES CONTROL']
disable = [
'C0302', # Too many lines in module (too-many-lines)
'R0902', # Too many instance attributes (too-many-instance-attributes)
'R0912', # Too many branches (too-many-branches)
'R0913', # Too many arguments (too-many-arguments)
'R0914', # Too many local variables (too-many-locals)
'R0915', # Too many statements (too-many-statements)
'R0917', # Too many positional arguments (too-many-positional-arguments)
'W0613', # Unused argument (unused-argument)

# TODO: the items below should be checked and corrected
'C0103', # Variable name doesn't conform to snake_case naming style (invalid-name)
'C0116', # Missing function or method docstring (missing-function-docstring)
'W0511', # TODO / fixme (fixme)
'W1203', # Use lazy % formatting in logging functions (logging-fstring-interpolation)
]