X Tutup
# [ruff] line-length = 120 format.quote-style = "single" # Enable Pyflakes `E` and `F` codes by default. lint.select = ["E", "F", "I"] lint.ignore = [] # Exclude a variety of commonly ignored directories. exclude = [ ".bzr", ".direnv", ".eggs", ".git", ".hg", ".mypy_cache", ".nox", ".pants.d", ".ruff_cache", ".svn", ".tox", "__pypackages__", "_build", "buck-out", "build", "dist", "node_modules", ".env", ".venv", "venv", "typings/**/*.pyi", ] lint.per-file-ignores = { } # Allow unused variables when underscore-prefixed. # dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" # Assume Python 3.14. target-version = "py314" #[tool.ruff.mccabe] ## Unlike Flake8, default to a complexity level of 10. lint.mccabe.max-complexity = 10
X Tutup