Spaces:
Running
Running
File size: 861 Bytes
b9d6157 8dfbb39 b9d6157 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# 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"] |