File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -63,12 +63,23 @@ python = ">=3.9,<4.0"
6363# Version-specific dependencies with prereleases allowed
6464tomli = { allow-prereleases = true }
6565
66- # Dependency groups are supported for organizing your dependencies (PEP 735)
66+ # Dependency groups are supported for organizing your dependencies
6767[dependency-groups ]
6868dev = [" pytest (>=7.1.2,<8.0.0)" , " pytest-cov (>=3.0,<4.0)" ]
69+ docs = [" Sphinx (>=5.1.1,<6.0.0)" ]
70+
6971# ...and can be installed only when explicitly requested
7072# via 'poetry install --with docs'
71- docs = [" Sphinx (>=5.1.1,<6.0.0)" ]
73+ [tool .poetry .group .docs ]
74+ optional = true
75+
76+ # Alternatively, you can use Poetry specific syntax
77+ # to specify dependency groups
78+ [tool .poetry .group .lint ]
79+ optional = true
80+
81+ [tool .poetry .group .lint .dependencies ]
82+ ruff = " >=0.10.0"
7283```
7384
7485## Installation
You can’t perform that action at this time.
0 commit comments