| target-version = "py310" |
| preview = true |
| |
| exclude = [ |
| 'third_party', |
| 'test/lit/lit.cfg.py', |
| 'test/spec/testsuite', |
| ] |
| |
| [lint.pylint] |
| max-locals = 30 |
| max-positional-args = 7 |
| |
| [lint.per-file-ignores] |
| "test/**.py" = ["no-self-use", "unspecified-encoding", "too-many-locals"] |
| |
| [lint] |
| select = [ |
| "ARG", |
| "ASYNC", |
| "B", |
| "D", |
| "C4", |
| "C90", |
| "COM", |
| "E", |
| "F", |
| "I", |
| "PERF", |
| "PIE", |
| "PL", |
| "UP", |
| "W", |
| "RUF", |
| "YTT", |
| ] |
| |
| ignore = [ |
| "ambiguous-variable-name", |
| "assert-false", |
| "collection-literal-concatenation", |
| "complex-structure", |
| "float-equality-comparison", |
| "function-uses-loop-variable", |
| "global-statement", |
| "incorrect-blank-line-before-class", |
| "line-too-long", |
| "magic-value-comparison", |
| "manual-list-comprehension", |
| "multi-line-summary-second-line", |
| "mutable-argument-default", |
| "mutable-class-default", |
| "redefined-loop-name", |
| "subprocess-run-without-check", |
| "too-many-arguments", |
| "too-many-branches", |
| "too-many-nested-blocks", |
| "too-many-public-methods", |
| "too-many-statements", |
| "too-many-statements-in-try-clause", |
| "undocumented-magic-method", |
| "undocumented-public-class", |
| "undocumented-public-function", |
| "undocumented-public-init", |
| "undocumented-public-method", |
| "undocumented-public-module", |
| "undocumented-public-package", |
| "unspecified-encoding", |
| ] |