@@ -11,7 +11,7 @@ classifiers = [
11
11
]
12
12
description = " A Simple Configuration Python Project"
13
13
version = " 0.1.0"
14
- requires-python = " >= 3.9"
14
+ requires-python = " >3.9"
15
15
keywords = [
16
16
" python configuration" ,
17
17
" pydantic" ,
@@ -21,11 +21,7 @@ keywords = [
21
21
]
22
22
name = " qpyconf"
23
23
readme = " README.md"
24
- dependencies = [
25
- " dynaconf>=3.2.5" ,
26
- " pydantic>=2.7.4" ,
27
- " qpyci" ,
28
- ]
24
+ dependencies = [" dynaconf>=3.2.5" , " pydantic>=2.7.4" , " qpyci" ]
29
25
30
26
# [tool.uv.sources]
31
27
# torch = { index = "pytorch" }
@@ -43,6 +39,7 @@ cleanup = "qpyci.commands:clean"
43
39
cov = " ci:coverage"
44
40
badge = " qpyci.commands:generate_badge"
45
41
check_format = " ci:check_format"
42
+ ci = " ci:ci"
46
43
47
44
[tool .hatch .build .targets .wheel .force-include ]
48
45
"ci.py" = " ci.py"
@@ -65,15 +62,11 @@ include = ["src", "tests"]
65
62
venvPath = " .venv"
66
63
# see https://github.com/microsoft/pyright/issues/7771 - we don't want to error on decorated functions in tests
67
64
# which are not otherwise used
68
- executionEnvironments = [
69
- { root = " tests" , reportUnusedFunction = false },
70
- ]
65
+ executionEnvironments = [{ root = " tests" , reportUnusedFunction = false }]
71
66
72
67
73
68
[dependency-groups ]
74
- lint = [
75
- " ruff>=0.8.3" ,
76
- ]
69
+ lint = [" ruff>=0.8.3" ]
77
70
dev = [
78
71
" allure-pytest>=2.13.5" ,
79
72
" pytest-cov>=6.0.0" ,
@@ -84,21 +77,10 @@ dev = [
84
77
[tool .ruff ]
85
78
line-length = 120
86
79
target-version = " py39"
87
- include = [
88
- " qpyconf/**/*.py" ,
89
- " tests/**/*.py" ,
90
- " docs/**/*.py" ,
91
- ]
80
+ include = [" qpyconf/**/*.py" , " tests/**/*.py" , " docs/**/*.py" ]
92
81
93
82
[tool .ruff .lint ]
94
- extend-select = [
95
- " Q" ,
96
- " RUF100" ,
97
- " C90" ,
98
- " UP" ,
99
- " I" ,
100
- " D" ,
101
- ]
83
+ extend-select = [" Q" , " RUF100" , " C90" , " UP" , " I" , " D" ]
102
84
flake8-quotes = { inline-quotes = " single" , multiline-quotes = " double" }
103
85
isort = { combine-as-imports = true , known-first-party = [" qpyconf" ] }
104
86
mccabe = { max-complexity = 15 }
@@ -128,10 +110,15 @@ quote-style = "single"
128
110
testpaths = [" tests" ]
129
111
pythonpath = [" src" ]
130
112
addopts = [
131
- " --alluredir" , " allure-results" ,
113
+ " --alluredir" ,
114
+ " allure-results" ,
132
115
" --clean-alluredir" ,
133
- " -l" , " -s" , " --durations" , " 0" ,
134
- " --cov" , " qpyconf"
116
+ " -l" ,
117
+ " -s" ,
118
+ " --durations" ,
119
+ " 0" ,
120
+ " --cov" ,
121
+ " qpyconf" ,
135
122
]
136
123
log_cli = true
137
124
log_cli_level = " info"
0 commit comments