diff --git a/.yamllint b/.yamllint new file mode 100644 index 00000000..1db00ce7 --- /dev/null +++ b/.yamllint @@ -0,0 +1,9 @@ +--- +extends: relaxed + +rules: + truthy: enable + # Disable warning level rules to remove flood in yamllint output + # YAML file should be modified to comply to those rules before activation + indentation: disable + line-length: disable diff --git a/pyproject.toml b/pyproject.toml index 1798ac20..ab91ec96 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -103,9 +103,9 @@ rst-roles = ["any", "attr", "class", "exc", "func", "meth", "obj"] strictness = "short" [tool.pylint.message_control] -disable = "all" +disable = ["all"] enable = ["C0115", "C0116", "R0401"] -score = "no" +score = ["no"] [tool.pep8] hang-closing = true @@ -116,7 +116,7 @@ in-place = true addopts = "--doctest-modules --disable-pytest-warnings --showlocals" testpaths = "openfisca_survey_manager" doctest_optionflags = "ELLIPSIS IGNORE_EXCEPTION_DETAIL NUMBER NORMALIZE_WHITESPACE" -python_files = "**/*.py" +python_files = ["**/*.py"] [tool.coverage.paths]