| 1 | |
| 2 | [build-system] |
| 3 | requires = ["setuptools"] |
| 4 | |
| 5 | [tool.bandit] |
| 6 | skips = ["B404", "B603", "B607"] |
| 7 | |
| 8 | [tool.black] |
| 9 | skip-string-normalization = true |
| 10 | |
| 11 | [tool.pylint.main] |
| 12 | # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the |
| 13 | # number of processors available to use, and will cap the count on Windows to |
| 14 | # avoid hangs. |
| 15 | jobs = 0 |
| 16 | |
| 17 | # Minimum Python version to use for version dependent checks. Will default to the |
| 18 | # version used to run pylint. |
| 19 | py-version = "3.9" |
| 20 | |
| 21 | [tool.pylint."messages control"] |
| 22 | # Only show warnings with the listed confidence levels. Leave empty to show all. |
| 23 | # Valid levels: HIGH, CONTROL_FLOW, INFERENCE, INFERENCE_FAILURE, UNDEFINED. |
| 24 | confidence = ["CONTROL_FLOW", "HIGH", "INFERENCE", "INFERENCE_FAILURE"] |
| 25 | |
| 26 | # These are too pedantic in this context to be worth supporting. |
| 27 | disable = [ |
| 28 | "line-too-long", # line length is enforced by black |
| 29 | "missing-function-docstring", # TODO add docstrings |
| 30 | "missing-module-docstring", # TODO add docstrings |
| 31 | "missing-timeout", |
| 32 | "use-maxsplit-arg", |
| 33 | "unspecified-encoding", # TODO figure out the right encoding support |
| 34 | ] |
| 35 | |
| 36 | [tool.pylint.format] |
| 37 | # Maximum number of characters on a single line. |
| 38 | max-line-length = 88 |
| 39 | |
| 40 | [tool.ruff.format] |
| 41 | quote-style = "preserve" |