Integrate Babel build steps as a Hatch hook (#2992)

This commit is contained in:
Oleh Prypin
2022-10-07 18:07:35 +02:00
committed by GitHub
parent 30cdac47a9
commit 65c24c21f0
4 changed files with 34 additions and 15 deletions

View File

@@ -75,6 +75,10 @@ artifacts = ["/mkdocs/**/*.mo"]
include = ["/mkdocs"]
[tool.hatch.build.targets.wheel]
exclude = ["/mkdocs/tests/integration", "*.po", "*.pot", "babel.cfg"]
[tool.hatch.build.hooks.custom]
dependencies = [
"babel",
]
[tool.black]
line-length = 100