Use uv workspaces instead of pip

This commit is contained in:
Micha Reiser
2024-08-02 11:08:38 +02:00
parent 2e2b1b460f
commit ef63ee8aaf
6 changed files with 692 additions and 21 deletions

21
docs/pyproject.toml Normal file
View File

@@ -0,0 +1,21 @@
[project]
name = "ruff-docs"
version = "0.0.0"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
dependencies = [
"PyYAML==6.0.1",
"mkdocs==1.5.0",
"mdformat==0.7.17",
"mdformat-mkdocs==2.0.4",
"mdformat-admon==2.0.2"
]
[tool.uv]
dev-dependencies = [
"mkdocs-material==9.1.18",
"mkdocs-redirects==1.2.1",
]

View File

@@ -1,8 +1 @@
PyYAML==6.0.1
black==23.10.0
mkdocs==1.5.0
mkdocs-material @ git+ssh://git@github.com/astral-sh/mkdocs-material-insiders.git@38c0b8187325c3bab386b666daf3518ac036f2f4
mkdocs-redirects==1.2.1
mdformat==0.7.17
mdformat-mkdocs==2.0.4
mdformat-admon==2.0.2

View File

@@ -1,8 +0,0 @@
PyYAML==6.0.1
black==23.10.0
mkdocs==1.5.0
mkdocs-material==9.1.18
mkdocs-redirects==1.2.1
mdformat==0.7.17
mdformat-mkdocs==2.0.4
mdformat-admon==2.0.2