mirror of
https://github.com/astral-sh/ruff-action.git
synced 2026-05-21 16:30:14 +02:00
Update README to reflect fork (#2)
This commit is contained in:
+6
-40
@@ -1,46 +1,12 @@
|
||||
|
||||
|
||||
[tool.ruff]
|
||||
|
||||
select = ["A", "ANN", "B", "C90", "D", "E", "F", "I", "N", "COM", "DTZ", "PD", "RUF", "TID", "UP", "W"]
|
||||
ignore = ["D203", "D212"]
|
||||
|
||||
fixable = ["I", "RUF100"]
|
||||
unfixable = []
|
||||
|
||||
# Exclude a variety of commonly ignored directories.
|
||||
exclude = [
|
||||
".bzr",
|
||||
".direnv",
|
||||
".eggs",
|
||||
".git",
|
||||
".hg",
|
||||
".mypy_cache",
|
||||
".nox",
|
||||
".pants.d",
|
||||
".pytype",
|
||||
".ruff_cache",
|
||||
".svn",
|
||||
".tox",
|
||||
".venv",
|
||||
"__pypackages__",
|
||||
"_build",
|
||||
"buck-out",
|
||||
"build",
|
||||
"dist",
|
||||
"node_modules",
|
||||
"venv",
|
||||
]
|
||||
|
||||
line-length = 88
|
||||
|
||||
# Allow unused variables when underscore-prefixed.
|
||||
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
||||
|
||||
target-version = "py311"
|
||||
|
||||
[tool.ruff.mccabe]
|
||||
# Unlike Flake8, default to a complexity level of 10.
|
||||
max-complexity = 10
|
||||
|
||||
[tool.ruff.lint]
|
||||
extend-select = ["B", "UP"]
|
||||
fixable = ["I", "RUF100"]
|
||||
unfixable = []
|
||||
|
||||
[tool.pyright]
|
||||
typeCheckingMode = "lazy"
|
||||
|
||||
Reference in New Issue
Block a user