@@ -285,10 +285,10 @@ exclude_lines = [
285285
286286# Hatch default environment
287287[tool .hatch .envs .default ]
288- # python = "3.9"
289288post-install-commands = [" pre-commit install" , " pre-commit install --hook-type commit-msg" ]
290289dependencies = [
291290 " pre-commit" ,
291+ " pre_commit" ,
292292 " commitizen" ,
293293]
294294# installer = "pip"
@@ -322,12 +322,12 @@ dependencies = [
322322[tool .hatch .envs .test .scripts ]
323323cov = " pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=src/utils_COMobjects --cov=tests {args}"
324324no-cov = " cov --no-cov {args}"
325- debug = " cov --no-cov -s --pdb --pdbcls=IPython.core.debugger:Pdb {args}"
325+ debug = " cov --no-cov -s --pdb --pdbcls=IPython.core.debugger:Pdb {args}"
326326
327327# Hatch testing environment matrix for various Python versions replacing the functionality of tox
328328[[tool .hatch .envs .test .matrix ]]
329329template = [" test" ]
330- python = [" 3.9 " , " 3.10 " , " 3.11 " , " 3.12 " , " 3.13 " ]
330+ python = [" 3.10 " , " 3.11 " , " 3.12 " , " 3.13 " , " 3.14 " ]
331331
332332# Hatch default linting environment for "hatch fmt"
333333[tool .hatch .envs .hatch-static-analysis ]
@@ -370,8 +370,10 @@ all = [
370370# Hatch environment for building documentation
371371[tool .hatch .envs .docs ]
372372dependencies = [
373- " mkdocs~=1.6" ,
374- " mkdocs-material[imaging]~=9.4" ,
373+ " pre-commit" , # needed otherwise error
374+ " pre_commit" , # needed otherwise error
375+ " properdocs" ,
376+ " mkdocs-materialx[imaging]" ,
375377 # Plugins
376378 " mkdocs-include-markdown-plugin" ,
377379 " mkdocs-gen-files" ,
@@ -393,10 +395,10 @@ dependencies = [
393395[tool .hatch .envs .docs .env-vars ]
394396SOURCE_DATE_EPOCH = " 1580601600"
395397PYTHONUNBUFFERED = " 1"
396- MKDOCS_CONFIG = " mkdocs .yml"
398+ MKDOCS_CONFIG = " properdocs .yml"
397399[tool .hatch .envs .docs .scripts ]
398- build = " mkdocs build --config-file {env:MKDOCS_CONFIG} --clean --strict {args}"
399- serve = " mkdocs serve --config-file {env:MKDOCS_CONFIG} --dev-addr localhost:8000 {args}"
400+ build = " properdocs build --config-file {env:MKDOCS_CONFIG} --clean --strict {args}"
401+ serve = " properdocs serve --config-file {env:MKDOCS_CONFIG} --dev-addr localhost:8000 {args}"
400402ci-build = " mike deploy --config-file {env:MKDOCS_CONFIG} --update-aliases {args}"
401403# --ignore-url=None since the SUMMARY.md file leaves a <toc>None</toc> in sitemap.xml
402404validate = " linkchecker --config .linkcheckerrc --ignore-url=/reference --ignore-url=None site"
0 commit comments