File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 hooks :
1212 - id : mypy
1313 args : [--ignore-missing-imports, --check-untyped-defs]
14- additional_dependencies : [types-PyYAML]
14+ additional_dependencies : [types-PyYAML, types-requests ]
1515 - repo : https://github.com/pappasam/toml-sort
1616 rev : v0.24.2
1717 hooks :
Original file line number Diff line number Diff line change 1+ 3.11
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" setuptools >= 61.0 " , " wheel " ]
3- build-backend = " setuptools.build_meta "
2+ requires = [" hatchling " ]
3+ build-backend = " hatchling.build "
44
55[project ]
66name = " python_project"
77version = " 0.0.1"
8- requires-python = " >=3.8"
9- dependencies = [
8+ requires-python = " >=3.10"
9+
10+ [dependency-groups ]
11+ dev = [
1012 " pre-commit" ,
1113 " pytest" ,
1214 " pytest-cov" ,
@@ -25,6 +27,12 @@ omit = [
2527fail_under = 80
2628show_missing = true
2729
30+ [tool .hatch .build .targets .wheel ]
31+ packages = [" src" ]
32+
33+ [tool .hatch .metadata ]
34+ allow-direct-references = true
35+
2836[tool .mypy ]
2937disable_error_code = [" no-redef" ] # for fasthtml
3038
@@ -50,5 +58,3 @@ ignore = [
5058known-local-folder = [" src" ]
5159no-lines-before = [" local-folder" ]
5260
53- [tool .setuptools ]
54- packages = [" src" ]
You can’t perform that action at this time.
0 commit comments