Skip to content

Commit bce7ccc

Browse files
committed
Format pyproject.toml
1 parent 75ca9db commit bce7ccc

File tree

1 file changed

+15
-38
lines changed

1 file changed

+15
-38
lines changed

pyproject.toml

Lines changed: 15 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,20 @@ build-backend = "hatchling.build"
33
requires = ["hatchling"]
44

55
[project]
6-
authors = [{name = "Vincent Leroy", email = "[email protected]"}]
6+
authors = [{ name = "Vincent Leroy", email = "[email protected]" }]
77
classifiers = [
88
"Development Status :: 6 - Mature",
99
"License :: OSI Approved :: MIT License",
1010
"Programming Language :: Python :: 3.8",
1111
"Programming Language :: Python :: 3.9",
1212
"Programming Language :: Python :: 3.10",
1313
"Programming Language :: Python :: 3.11",
14-
"Programming Language :: Python :: 3.12"
15-
]
16-
dependencies = [
17-
"attrs>=21"
14+
"Programming Language :: Python :: 3.12",
1815
]
16+
dependencies = ["attrs>=21"]
1917
description = "A simple factory implementation written in Python"
2018
keywords = []
21-
license = {file = "LICENSE"}
19+
license = { file = "LICENSE" }
2220
name = "dessinemoi"
2321
readme = "README.md"
2422
requires-python = ">=3.8"
@@ -38,26 +36,18 @@ directory = "./reports/coverage/html"
3836
output = "./reports/coverage/coverage.json"
3937

4038
[tool.coverage.paths]
41-
equivalent = [
42-
"src/",
43-
"__pypackages__/"
44-
]
39+
equivalent = ["src/", "__pypackages__/"]
4540

4641
[tool.coverage.report]
47-
omit = [
48-
"src/*/__init__.py",
49-
"src/*/_version.py"
50-
]
42+
omit = ["src/*/__init__.py", "src/*/_version.py"]
5143
precision = 2
5244
show_missing = true
5345
skip_covered = true
5446

5547
[tool.coverage.run]
5648
branch = true
5749
parallel = true
58-
source = [
59-
"src/"
60-
]
50+
source = ["src/"]
6151

6252
[tool.hatch.build.targets.wheel]
6353
packages = ["src/dessinemoi"]
@@ -67,22 +57,9 @@ allow-direct-references = true
6757

6858
[tool.pytest.ini_options]
6959
addopts = "--doctest-glob='*.rst'"
70-
norecursedirs = [
71-
".git",
72-
".env",
73-
"dist",
74-
"build",
75-
"__pypackages__"
76-
]
77-
python_files = [
78-
"test_*.py",
79-
"*_test.py",
80-
"tests.py"
81-
]
82-
testpaths = [
83-
"docs",
84-
"tests"
85-
]
60+
norecursedirs = [".git", ".env", "dist", "build", "__pypackages__"]
61+
python_files = ["test_*.py", "*_test.py", "tests.py"]
62+
testpaths = ["docs", "tests"]
8663

8764
[tool.ruff.lint]
8865
select = ["I", "E", "F"]
@@ -101,12 +78,12 @@ dev-dependencies = [
10178
"sphinx-autobuild>=2021.3",
10279
"sphinx-autodoc-typehints>=1.18",
10380
"sphinx-copybutton>=0.4",
104-
"xdoctest>=0.15.0"
81+
"xdoctest>=0.15.0",
10582
]
10683
managed = true
10784

10885
[tool.rye.scripts]
109-
docs = {cmd = "sphinx-build -b html docs docs/_build/html"}
110-
docs-clean = {cmd = "rm -rf docs/_build/"}
111-
docs-serve = {cmd = "sphinx-autobuild docs docs/_build/html"}
112-
test = {cmd = "pytest"}
86+
docs = { cmd = "sphinx-build -b html docs docs/_build/html" }
87+
docs-clean = { cmd = "rm -rf docs/_build/" }
88+
docs-serve = { cmd = "sphinx-autobuild docs docs/_build/html" }
89+
test = { cmd = "pytest" }

0 commit comments

Comments
 (0)