File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -64,16 +64,22 @@ python = ">=3.9,<4.0"
6464tomli = { allow-prereleases = true }
6565
6666# Dependency groups are supported for organizing your dependencies
67- [tool . poetry . group . dev . dependencies ]
68- pytest = " ^ 7.1.2"
69- pytest-cov = " ^3.0 "
67+ [dependency-groups ]
68+ dev = [ " pytest (>= 7.1.2,<8.0.0) " , " pytest-cov (>=3.0,<4.0) " ]
69+ docs = [ " Sphinx (>=5.1.1,<6.0.0) " ]
7070
7171# ...and can be installed only when explicitly requested
7272# via 'poetry install --with docs'
7373[tool .poetry .group .docs ]
7474optional = true
75- [tool .poetry .group .docs .dependencies ]
76- Sphinx = " ^5.1.1"
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"
7783```
7884
7985## Installation
You can’t perform that action at this time.
0 commit comments