@@ -37,8 +37,8 @@ dependencies = [
3737 " ckanapi>=4.8" ,
3838 " defopt>=6.4.0" ,
3939 " email_validator" ,
40- " hdx-python-country>=3.8.8 " ,
41- " hdx-python-utilities>=3.8.3 " ,
40+ " hdx-python-country>=3.9.2 " ,
41+ " hdx-python-utilities>=3.8.6 " ,
4242 " libhxl>=5.2.2" ,
4343 " makefun" ,
4444 " quantulum3" ,
@@ -56,52 +56,4 @@ Homepage = "https://github.com/OCHA-DAP/hdx-python-api"
5656[project .optional-dependencies ]
5757test = [" pytest" , " pytest-check" , " pytest-cov" , " gspread" ]
5858dev = [" pre-commit" ]
59-
60-
61- # ########
62- # Hatch #
63- # ########
64-
65- # Build
66-
67- [tool .hatch .build .targets .wheel ]
68- packages = [" src/hdx" ]
69-
70- [tool .hatch .build .hooks .vcs ]
71- version-file = " src/hdx/api/_version.py"
72-
73- [tool .hatch .metadata ]
74- allow-direct-references = true
75-
76- # Versioning
77-
78- [tool .hatch .version ]
79- source = " vcs"
80-
81- [tool .hatch .version .raw-options ]
82- local_scheme = " no-local-version"
83- version_scheme = " python-simplified-semver"
84-
85- # Tests
86-
87- [tool .hatch .envs .hatch-test ]
88- features = [" test" ]
89-
90- [[tool .hatch .envs .hatch-test .matrix ]]
91- python = [" 3.12" ]
92-
93- [tool .hatch .envs .hatch-test .scripts ]
94- run = """
95- pytest -c .config/pytest.ini --rootdir=. --junitxml=test-results.xml \
96- --cov --cov-config=.config/coveragerc --no-cov-on-fail \
97- --cov-report=lcov --cov-report=term-missing
98- """
99-
100- [tool .hatch .envs .hatch-static-analysis ]
101- dependencies = [" ruff==0.9.6" ]
102-
103- [tool .hatch .envs .hatch-static-analysis .scripts ]
104- format-check = [" ruff format --config .config/ruff.toml --check --diff {args:.}" ,]
105- format-fix = [" ruff format --config .config/ruff.toml {args:.}" ,]
106- lint-check = [" ruff check --config .config/ruff.toml {args:.}" ,]
107- lint-fix = [" ruff check --config .config/ruff.toml --fix {args:.}" ,]
59+ docs = [" mkapi" ]
0 commit comments