@@ -8,7 +8,7 @@ dynamic = ["version"]
88description = " Simple Python wrapper for Uptime Kuma"
99readme = " README.md"
1010license = " MIT"
11- requires-python = " >=3.8.0 "
11+ requires-python = " >=3.12 "
1212authors = [
1313 {
name =
" Manfred Dennerlein Rodelo" ,
email =
" [email protected] " },
1414 {
name =
" Jayakorn Karikan" ,
email =
" [email protected] " },
@@ -40,32 +40,18 @@ include = [
4040 " /pythonkuma" ,
4141]
4242
43- [tool .ruff ]
44- target-version = " py312"
45- line-length = 88
46-
47- [tool .ruff .lint ]
48- preview = true
49- ignore = [" TRY003" , " N818" ]
50-
51-
52- [tool .ruff .lint .isort ]
53- force-sort-within-sections = true
54- known-first-party = [" pythonkuma" ]
55- combine-as-imports = true
56- split-on-trailing-comma = false
57-
58- [tool .ruff .lint .pydocstyle ]
59- convention = " numpy"
60-
61- [tool .ruff .format ]
62- preview = true
63- quote-style = " double"
64- indent-style = " space"
65-
66- [tool .ruff .lint .mccabe ]
67- max-complexity = 25
68-
69- [tool .ruff .lint .flake8-tidy-imports ]
70- ban-relative-imports = " parents"
71-
43+ [tool .hatch .envs .hatch-static-analysis ]
44+ dependencies = [" ruff==0.11.13" ]
45+ config-path = " ruff.toml"
46+
47+ [tool .pytest .ini_options ]
48+ addopts = " --cov=pythonkuma/ --cov-report=term-missing"
49+ asyncio_mode = " auto"
50+ asyncio_default_fixture_loop_scope =" module"
51+ testpaths = [" tests" ]
52+ pythonpath = [" pythonkuma" ]
53+
54+ [tool .hatch .envs .hatch-test ]
55+ extra-dependencies = [
56+ " pytest-cov"
57+ ]
0 commit comments