Skip to content

Commit

Permalink
Remove now-unused Black ignore configuration
Browse files Browse the repository at this point in the history
Remove the Black file ignore setting from pyproject.toml for the
SQuaRE PyPI module template. Black is still used for documentation
so the other settings are needed, but Ruff is now used for source
code and therefore the file exclusion list is no longer needed.
  • Loading branch information
rra committed Sep 23, 2024
1 parent 5413915 commit 86ab1be
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 30 deletions.
14 changes: 0 additions & 14 deletions project_templates/square_pypi_package/example/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,6 @@ include = ["example*"]
[tool.black]
line-length = 79
target-version = ["py312"]
exclude = '''
/(
\.eggs
| \.git
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
)/
'''
# Use single-quoted strings so TOML treats the string like a Python r-string
# Multi-line strings are implicitly treated by black as regular expressions

[tool.coverage.run]
parallel = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,6 @@ include = ["{{cookiecutter.module_name}}*"]
[tool.black]
line-length = 79
target-version = ["py312"]
exclude = '''
/(
\.eggs
| \.git
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
)/
'''
# Use single-quoted strings so TOML treats the string like a Python r-string
# Multi-line strings are implicitly treated by black as regular expressions

[tool.coverage.run]
parallel = true
Expand Down
2 changes: 1 addition & 1 deletion project_templates/technote_md/testn-000/technote.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ series_id = "TESTN"
canonical_url = "https://testn-000.lsst.io"
github_url = "https://github.com/lsst/testn-000"
github_default_branch = "main"
date_created = 2024-09-23T23:31:18Z
date_created = 2024-09-23T23:40:06Z
organization.name = "Vera C. Rubin Observatory"
organization.ror = "https://ror.org/048g3cy84"
license.id = "CC-BY-4.0"
Expand Down
2 changes: 1 addition & 1 deletion project_templates/technote_rst/testn-000/technote.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ series_id = "TESTN"
canonical_url = "https://testn-000.lsst.io"
github_url = "https://github.com/lsst/testn-000"
github_default_branch = "main"
date_created = 2024-09-23T23:31:18Z
date_created = 2024-09-23T23:40:06Z
organization.name = "Vera C. Rubin Observatory"
organization.ror = "https://ror.org/048g3cy84"
license.id = "CC-BY-4.0"
Expand Down

0 comments on commit 86ab1be

Please sign in to comment.