Skip to content

Commit 4d77b8d

Browse files
committed
Check for print statements
1 parent 13fffe3 commit 4d77b8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ select = [
9090
"S", # flake8-bandit
9191
"SIM", # flake8-simplify
9292
"T10", # flake8-debugger
93+
"T20", # flake8-print
9394
"TCH", # flake8-type-checking
9495
"TID", # flake8-tidy-imports
9596
"UP", # pyupgrade
@@ -101,7 +102,6 @@ select = [
101102
# "FBT", # flake8-boolean-trap
102103
# "Q", # flake8-quotes
103104
# "SLF", # flake8-self
104-
# "T20", # flake8-print
105105
# "TRY", # tryceratops
106106
]
107107
# Note: use `ruff rule ...` to see explanations of rules
@@ -123,6 +123,7 @@ max-statements = 95
123123
[tool.ruff.per-file-ignores]
124124
"docs/*" = [
125125
"INP001", # allow stand-alone scripts
126+
"T201", # allow print statements
126127
]
127128
"tests/*" = [
128129
"D", # no docstrings necessary here

0 commit comments

Comments
 (0)