pyproject: split lint and doc dependencies

This allows a subset of dependencies to be installed if needed and
allows sharing requirements with readthedocs.
This commit is contained in:
David Lechner
2023-05-10 14:35:08 -05:00
parent 8e5891d9e8
commit b4ff3af36d
5 changed files with 570 additions and 555 deletions
+3 -1
View File
@@ -29,10 +29,12 @@ packages = [
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.dev-dependencies]
[tool.poetry.group.lint.dependencies]
black = "^22.3.0"
doc8 = "^0.8.1"
flake8 = "^4.0"
[tool.poetry.group.doc.dependencies]
Sphinx = { git = "https://github.com/pybricks/sphinx.git", rev = "b00124cb" }
sphinx-rtd-theme = "^1.0.0"
toml = "^0.10.0"