Skip to content

Commit e3b1815

Browse files
committed
Use "ALL" rules for Ruff. Ignore docstrings related rules.
1 parent d4fcc4a commit e3b1815

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,11 @@ disallow_untyped_defs = false
9797
strict_equality = false
9898

9999
[tool.ruff]
100-
select = ["A", "B", "C", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE", "COM", "DJ", "DTZ", "EM", "ERA", "EXE", "FBT", "ICN", "INP", "ISC", "NPY", "PD", "PGH", "PIE", "PL", "PT", "PTH", "PYI", "RET", "RSE", "RUF", "SIM", "SLF", "TCH", "TID", "TRY", "UP", "YTT"]
100+
select = ["ALL"]
101101
ignore = [
102102
"ANN", # Type hints related, let mypy handle these.
103103
"COM812", # "Trailing comma missing". If black is happy, I'm happy.
104+
"D", # Docstrings related
104105
"E501", # "Line too long". If black is happy, I'm happy.
105106
"EM101", # "Exception must not use a string literal, assign to variable first"
106107
"EM102", # "Exception must not use an f-string literal, assign to variable first"

0 commit comments

Comments
 (0)