Enable Ruff rule to reject # XXX: todo lines

Combined with pre-commit, this should prevent me from committing
unfinished sections
This commit is contained in:
Adam Goldsmith 2024-03-08 15:21:28 -05:00
parent 0318a610e7
commit 9c1771b414

View File

@ -51,7 +51,7 @@ admin_email = "cmsmanage.django_q2_admin_email_reporter:AdminEmailReporter"
line-length = 88 line-length = 88
[tool.ruff.lint] [tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I", "C4", "UP", "PERF", "PL", "SIM"] select = ["E4", "E7", "E9", "F", "I", "C4", "UP", "PERF", "PL", "SIM", "FIX003"]
[tool.ruff.lint.isort] [tool.ruff.lint.isort]
known-first-party = [ known-first-party = [