File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,16 @@ dependencies = [
3838 " django>=4.2" ,
3939 " django-crispy-forms>=2.3" ,
4040]
41- [project . optional-dependencies ]
41+ [dependency-groups ]
4242test = [
4343 " pytest" ,
4444 " pytest-django" ,
4545]
46+ lint = [
47+ " black" ,
48+ " isort" ,
49+ " flake8" ,
50+ ]
4651[project .urls ]
4752"CI" = " https://github.com/django-crispy-forms/crispy-bootstrap5/actions"
4853"Changelog" = " https://github.com/django-crispy-forms/crispy-bootstrap5/releases"
Original file line number Diff line number Diff line change 1515 django52: django>=5.2a1,<5.3
1616 crispy-release: django-crispy-forms>=2.3
1717 crispy-latest: https://github.com/django-crispy-forms/django-crispy-forms/archive/main.tar.gz
18- extras = test
18+ dependency_groups = test
1919commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning -m pytest {posargs}
2020
2121[testenv:lint]
@@ -24,10 +24,7 @@ commands =
2424 black crispy_bootstrap5 --check
2525 isort crispy_bootstrap5 --check --dif
2626 flake8 crispy_bootstrap5
27- deps =
28- black
29- flake8
30- isort
27+ dependency_groups = lint
3128
3229[flake8]
3330max-line-length = 88
You can’t perform that action at this time.
0 commit comments