Skip to content

Commit

Permalink
Allow print in _cli.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ekilmer committed Oct 13, 2023
1 parent 0db7b13 commit 3acd07e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions {{cookiecutter.project_slug}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ select = ["ALL"]
target-version = "py38"

[tool.ruff.per-file-ignores]
"{{ cookiecutter.module_slug }}/_cli.py" = [
"T201", # allow `print` in cli module
]
"test/**/*.py" = [
"D", # no docstrings in tests
"S101", # asserts are expected in tests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
"""The `{{ cookiecutter.project_slug }}` entrypoint."""

# ruff: noqa: T201
# T201 `print` found


def main() -> None:
print("Hello, world!")

0 comments on commit 3acd07e

Please sign in to comment.