diff --git a/{{ cookiecutter.repo_name }}/docs/conf.py b/{{ cookiecutter.repo_name }}/docs/conf.py index 70bda0ff..4575a27f 100644 --- a/{{ cookiecutter.repo_name }}/docs/conf.py +++ b/{{ cookiecutter.repo_name }}/docs/conf.py @@ -1,5 +1,3 @@ -"""Sphinx configuration.""" - from datetime import datetime diff --git a/{{ cookiecutter.repo_name }}/pyproject.toml b/{{ cookiecutter.repo_name }}/pyproject.toml index 696d8999..a2bde6fe 100644 --- a/{{ cookiecutter.repo_name }}/pyproject.toml +++ b/{{ cookiecutter.repo_name }}/pyproject.toml @@ -53,9 +53,9 @@ known-first-party = ["{{ cookiecutter.repo_name }}"] [tool.ruff.lint.pydocstyle] convention = "google" +[tool.ruff.lint.per-file-ignores] +"**/__init__.py" = ["F401", "E402", "D104"] + [tool.ruff.format] docstring-code-format = true docstring-code-line-length = "dynamic" - -[tool.ruff.per-file-ignores] -"**/__init__.py" = ["F401", "E402", "D104"]