@@ -3,22 +3,20 @@ build-backend = "hatchling.build"
3
3
requires = [" hatchling" ]
4
4
5
5
[project ]
6
- authors = [{
name =
" Vincent Leroy" ,
email =
" [email protected] " }]
6
+ authors = [{
name =
" Vincent Leroy" ,
email =
" [email protected] " }]
7
7
classifiers = [
8
8
" Development Status :: 6 - Mature" ,
9
9
" License :: OSI Approved :: MIT License" ,
10
10
" Programming Language :: Python :: 3.8" ,
11
11
" Programming Language :: Python :: 3.9" ,
12
12
" Programming Language :: Python :: 3.10" ,
13
13
" Programming Language :: Python :: 3.11" ,
14
- " Programming Language :: Python :: 3.12"
15
- ]
16
- dependencies = [
17
- " attrs>=21"
14
+ " Programming Language :: Python :: 3.12" ,
18
15
]
16
+ dependencies = [" attrs>=21" ]
19
17
description = " A simple factory implementation written in Python"
20
18
keywords = []
21
- license = {file = " LICENSE" }
19
+ license = { file = " LICENSE" }
22
20
name = " dessinemoi"
23
21
readme = " README.md"
24
22
requires-python = " >=3.8"
@@ -38,26 +36,18 @@ directory = "./reports/coverage/html"
38
36
output = " ./reports/coverage/coverage.json"
39
37
40
38
[tool .coverage .paths ]
41
- equivalent = [
42
- " src/" ,
43
- " __pypackages__/"
44
- ]
39
+ equivalent = [" src/" , " __pypackages__/" ]
45
40
46
41
[tool .coverage .report ]
47
- omit = [
48
- " src/*/__init__.py" ,
49
- " src/*/_version.py"
50
- ]
42
+ omit = [" src/*/__init__.py" , " src/*/_version.py" ]
51
43
precision = 2
52
44
show_missing = true
53
45
skip_covered = true
54
46
55
47
[tool .coverage .run ]
56
48
branch = true
57
49
parallel = true
58
- source = [
59
- " src/"
60
- ]
50
+ source = [" src/" ]
61
51
62
52
[tool .hatch .build .targets .wheel ]
63
53
packages = [" src/dessinemoi" ]
@@ -67,22 +57,9 @@ allow-direct-references = true
67
57
68
58
[tool .pytest .ini_options ]
69
59
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" ]
86
63
87
64
[tool .ruff .lint ]
88
65
select = [" I" , " E" , " F" ]
@@ -101,12 +78,12 @@ dev-dependencies = [
101
78
" sphinx-autobuild>=2021.3" ,
102
79
" sphinx-autodoc-typehints>=1.18" ,
103
80
" sphinx-copybutton>=0.4" ,
104
- " xdoctest>=0.15.0"
81
+ " xdoctest>=0.15.0" ,
105
82
]
106
83
managed = true
107
84
108
85
[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