Skip to content

Commit ed2ea96

Browse files
authored
Merge pull request #165 from finsberg/formatter-deps
Do not require clang-format-docs or black
2 parents 31dfc9f + 6bed8e7 commit ed2ea96

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

pyproject.toml

+7-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ urls = {Homepage = "https://github.com/finsberg/gotranx"}
1717
requires-python = ">=3.9"
1818
dependencies = [
1919
"attrs",
20-
"clang-format-docs",
21-
"black",
2220
"lark",
2321
"pint",
2422
"rich-click",
@@ -36,6 +34,10 @@ file = "README.md"
3634
content-type = "text/markdown"
3735

3836
[project.optional-dependencies]
37+
formatters = [
38+
"black",
39+
"clang-format-docs",
40+
]
3941
dev = [
4042
"bump-my-version",
4143
"ipython",
@@ -51,19 +53,22 @@ docs = [
5153
"sphinxcontrib-mermaid",
5254
"jax",
5355
"numba",
56+
"gotranx[formatters]",
5457
]
5558
test = [
5659
"pytest",
5760
"pytest-cov",
5861
"jax",
5962
"cmake",
63+
"gotranx[formatters]",
6064
]
6165
benchmark = [
6266
"pytest-benchmark>=4.0.0",
6367
# TODO: remove bound once pytest-codspeed supports 3.13, blocked by `python-cffi`
6468
"pytest-codspeed~=2.2.0; python_version < '3.13'",
6569
"gotranx[test]",
6670
]
71+
all = ["gotranx[formatters,dev,docs,test]"]
6772

6873
[project.scripts]
6974
gotranx = "gotranx.cli:app"

0 commit comments

Comments
 (0)