aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml15
1 files changed, 10 insertions, 5 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 8afac8e..a13dd7a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -10,7 +10,7 @@ readme = "README.md"
python = "3.11.*"
pre-commit = "3.6.0"
-ruff = "0.2.0"
+ruff = "0.2.1"
taskipy = "1.12.2"
[tool.poetry.group.ansible.dependencies]
@@ -25,6 +25,11 @@ precommit = "pre-commit install"
[tool.ruff]
target-version = "py311"
extend-exclude = [".cache"]
+line-length = 120
+unsafe-fixes = true
+preview = true
+
+[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN002", "ANN003", "ANN101", "ANN102", "ANN204", "ANN206", "ANN401",
@@ -38,12 +43,12 @@ ignore = [
"RUF005", "RUF012", "RUF015",
"S311",
"SIM102", "SIM108",
+
+ # Rules suggested to be ignored when using ruff format
+ "COM812", "COM819", "D206", "E111", "E114", "E117", "E501", "ISC001", "Q000", "Q001", "Q002", "Q003", "W191",
]
-line-length = 120
-unsafe-fixes = true
-preview = true
-[tool.ruff.isort]
+[tool.ruff.lint.isort]
order-by-type = false
case-sensitive = true
combine-as-imports = true