Skip to content

Commit b8958d5

Browse files
committed
🔧 Add ruff exceptions for scripts directory
1 parent 8ab7d10 commit b8958d5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

‎project_name/pyproject.toml.jinja‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,10 @@ flake8-comprehensions.allow-dict-calls-with-keyword-arguments = true
250250
"ALL",
251251
]
252252
{%- endif %}
253+
"scripts/*.py" = [
254+
"T20", # flake8-print
255+
"INP001", # implicit-namespace-package
256+
]
253257
"!tests/test_*.py" = [
254258
"PT", # flake8-pytest-style
255259
]

‎project_name/scripts/gen_ref_pages.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Generate the code reference pages.""" # noqa: INP001
1+
"""Generate the code reference pages."""
22

33
from pathlib import Path
44

0 commit comments

Comments
 (0)