Skip to content

Commit

Permalink
refactor: pre-commit.ci auto fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 4, 2023
1 parent de66d76 commit 5e6689e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ profile = "black"
src_paths = ["cookiecutter-pypackage", "hooks", "tests"]
line_length = 99

[tool.docformatter]
black = true
non-strict = true
non-cap = [
"cookiecutter-pypackage",
]
recursive = true
in-place = true

[tool.pytest.ini_options]
addopts = "-vv --color=yes"
log_cli = false
Expand All @@ -81,15 +90,6 @@ lint = { cmd = "poetry run ruff check src", help = "Lint your code for errors" }
docs = { shell = "python -c 'import webbrowser; webbrowser.open(\"http://127.0.0.1:8000\")'; poetry run mkdocs serve", help = "Build and serve the documentation" }
export = { cmd = "poetry export --without-hashes --dev -o requirements.txt" }

[tool.docformatter]
black = true
non-strict = true
non-cap = [
"cookiecutter-pypackage",
]
recursive = true
in-place = true

[tool.bandit]
recursive = true
exclude_dirs = ["tests"]
18 changes: 9 additions & 9 deletions {{cookiecutter.project_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@ src_paths = ["src/{{cookiecutter.package_name}}", "tests"]
line_length = 99
known_first_party = "{{cookiecutter.package_name}}"

[tool.docformatter]
black = true
non-strict = true
non-cap = [
"{{cookiecutter.package_name}}",
]
recursive = true
in-place = true

[tool.pytest.ini_options]
addopts = "-vv --color=yes"
log_cli = false
Expand Down Expand Up @@ -161,15 +170,6 @@ lint = { cmd = "poetry run ruff check src", help = "Lint your code for errors" }
docs = { shell = "python -c 'import webbrowser; webbrowser.open(\"http://127.0.0.1:8000\")'; poetry run mkdocs serve", help = "Build and serve the documentation" }
export = { cmd = "poetry export --without-hashes --dev -o requirements.txt" }

[tool.docformatter]
black = true
non-strict = true
non-cap = [
"{{cookiecutter.package_name}}",
]
recursive = true
in-place = true

[tool.bandit]
recursive = true
exclude_dirs = ["tests"]

0 comments on commit 5e6689e

Please sign in to comment.