diff --git a/pyproject.toml b/pyproject.toml index 70708682..e9636ab5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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) +]