Spaces:
Running
Running
# Assume Python 3.10. | |
target-version = "py310" | |
# Decrease the maximum line length to 79 characters. | |
line-length = 300 | |
# pyflakes, pycodestyle, isort | |
# flake8 YTT, pydocstyle D, pylint PLC | |
lint.select = ["F", "E", "W", "I001", "YTT", "D", "PLC"] | |
# select = ["ALL"] | |
# D103 Missing docstring in public function | |
# D101 Missing docstring in public class | |
# `multi-line-summary-first-line` (D212) | |
# `one-blank-line-before-class` (D203) | |
# imported but unused (F401) | |
# assigned to but never used (F841) | |
# Missing dashed underline after section ("Args") (D407) | |
# D413 [*] Missing blank line after last section ("Returns") | |
# D213 [*] Multi-line docstring summary should start at the second line | |
# I001 [*] Import block is un-sorted or un-formatted | |
lint.extend-ignore = ["D103", "D101", "D212", "D203", "F401", "F841", "D407", "D413", "D213", "I001"] | |
exclude = [".venv"] |