Skip to content

Commit

Permalink
removed black dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
niksirbi committed Apr 26, 2024
1 parent 283514a commit 40ed7fc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 1 addition & 2 deletions tests/test_cookiecutter.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,6 @@ def test_pyproject_toml(package_path_config_dict):
"pytest-cov",
"coverage",
"tox",
"black",
"mypy",
"pre-commit",
"ruff",
Expand All @@ -295,7 +294,7 @@ def test_pyproject_toml(package_path_config_dict):
project_toml["tool"]["pytest"]["ini_options"]["addopts"]
== f"--cov={config_dict['module_name']}"
)
assert project_toml["tool"]["black"]
assert project_toml["tool"]["ruff"]

assert "legacy_tox_ini" in project_toml["tool"]["tox"]

Expand Down
6 changes: 0 additions & 6 deletions {{cookiecutter.package_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ dev = [
"pytest-cov",
"coverage",
"tox",
"black",
"mypy",
"pre-commit",
"ruff",
Expand Down Expand Up @@ -96,11 +95,6 @@ filterwarnings = [
"error",
]

[tool.black]
target-version = ['py39', 'py310', 'py311']
skip-string-normalization = false
line-length = 79

[tool.setuptools_scm]

[tool.check-manifest]
Expand Down

0 comments on commit 40ed7fc

Please sign in to comment.