Skip to content

Commit

Permalink
fix: pyproject.toml:tool.black.exlude is a regex now
Browse files Browse the repository at this point in the history
  • Loading branch information
phitoduck committed May 16, 2024
1 parent b6b867a commit 90458e0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion {{cookiecutter.repo_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@ markers = ["slow: marks tests as slow (deselect with '-m \"not slow\"')"]

[tool.black]
line-length = 119
exclude = ["venv"]
# regular expression ignoring multiple patterns separated by '|' and newlines
exclude = '''
/(
\.venv
| venv
)/
'''

[tool.flake8]
docstring-convention = "all"
Expand Down

0 comments on commit 90458e0

Please sign in to comment.