Fix hatch environment 'docs' to use the local mkdocs checkout (#3518)

This commit is contained in:
Oleh Prypin
2023-12-14 22:14:55 +01:00
committed by GitHub
parent 224676fbae
commit 9cd0cf4e17
2 changed files with 45 additions and 7 deletions

View File

@@ -140,6 +140,8 @@ matrix.type.scripts = [
[tool.hatch.env.collectors.mkdocs.integration]
path = "mkdocs.yml"
[tool.hatch.envs.integration]
detached = false
[tool.hatch.envs.integration.scripts]
test = "python -m mkdocs.tests.integration"
[[tool.hatch.envs.integration.matrix]]
@@ -204,7 +206,7 @@ check = ["markdown", "js", "css", "spelling"]
path = "mkdocs.yml"
[tool.hatch.envs.docs]
type = "pip-compile"
pip-compile-hashes = false
detached = false
[tool.black]
line-length = 100