From 9c1771b414b13a87e575d02bb25762da5330583f Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 8 Mar 2024 15:21:28 -0500 Subject: [PATCH] Enable Ruff rule to reject `# XXX:` todo lines Combined with pre-commit, this should prevent me from committing unfinished sections --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e487d1b..8370b65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,7 @@ admin_email = "cmsmanage.django_q2_admin_email_reporter:AdminEmailReporter" line-length = 88 [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] known-first-party = [