1
+ # Utils PEP 621 is enhanced or some fancy build
2
+ # system comes up with a clever mechanism to
3
+ # itegrate it all. For now poetry works best.
4
+
5
+
6
+ # ###################
7
+ # Build System #
8
+ # ###################
9
+
10
+ [build-system ]
11
+ requires = [" poetry-core" ]
12
+ build-backend = " poetry.core.masonry.api"
13
+
14
+
15
+ # ###################
16
+ # Metadata #
17
+ # ###################
18
+
1
19
[tool .poetry ]
2
20
name = " validators"
3
21
version = " 0.21.1"
@@ -24,46 +42,64 @@ classifiers = [
24
42
]
25
43
include = [" CHANGES.md" , " docs/*" , " docs/validators.1" , " validators/py.typed" ]
26
44
45
+
46
+ # ###################
47
+ # Dependencies #
48
+ # ###################
49
+
27
50
[tool .poetry .dependencies ]
28
51
python = " ^3.8"
29
52
30
- [tool .poetry .group .dev . dependencies ]
31
- tox = " ^4.4.11 "
53
+ [tool .poetry .group .docs ]
54
+ optional = true
32
55
33
56
[tool .poetry .group .docs .dependencies ]
34
57
mkdocs = " ^1.4.2"
35
58
mkdocs-material = " ^9.1.6"
36
- mkdocstrings = { extras = [" python" ], version = " ^0.20.0 " }
59
+ mkdocstrings = { extras = [" python" ], version = " ^0.21.2 " }
37
60
pyaml = " ^21.10.1"
38
61
62
+ [tool .poetry .group .hooks ]
63
+ optional = true
64
+
39
65
[tool .poetry .group .hooks .dependencies ]
40
66
pre-commit = " ^3.2.2"
41
67
68
+ [tool .poetry .group .sast ]
69
+ optional = true
70
+
42
71
[tool .poetry .group .sast .dependencies ]
43
72
bandit = " ^1.7.5"
44
73
74
+ [tool .poetry .group .sphinx ]
75
+ optional = true
76
+
45
77
[tool .poetry .group .sphinx .dependencies ]
46
78
sphinx = " ^6.1.3"
47
79
myst-parser = " ^1.0.0"
48
80
pypandoc-binary = " ^1.11"
49
81
50
- [tool .poetry .group .tests .dependencies ]
82
+ [tool .poetry .group .testing ]
83
+ optional = true
84
+
85
+ [tool .poetry .group .testing .dependencies ]
51
86
pytest = " ^7.3.0"
52
87
53
- [tool .poetry .group .type-lint-format .dependencies ]
88
+ [tool .poetry .group .tooling ]
89
+ optional = true
90
+
91
+ [tool .poetry .group .tooling .dependencies ]
54
92
black = " ^23.3.0"
55
93
flake8 = " ^5.0.4"
56
94
flake8-docstrings = " ^1.7.0"
57
95
isort = " ^5.12.0"
58
96
pyright = " ^1.1.302"
97
+ tox = " ^4.4.11"
59
98
60
- [build-system ]
61
- requires = [" poetry-core" ]
62
- build-backend = " poetry.core.masonry.api"
63
99
64
- # ######################
65
- # misc configurations #
66
- # ######################
100
+ # ###################
101
+ # Configurations #
102
+ # ###################
67
103
68
104
[tool .black ]
69
105
line-length = 100
@@ -112,7 +148,7 @@ env_list =
112
148
[testenv]
113
149
description = run unit tests
114
150
deps = pytest
115
- commands = pytest tests/
151
+ commands = pytest
116
152
117
153
[testenv:format_black]
118
154
description = run formatter
0 commit comments