@@ -13,25 +13,24 @@ packages = [
1313]
1414
1515[tool .poetry .dependencies ]
16- python = " ^3.10 "
16+ python = " ^3.11 "
1717
1818[tool .poetry .group .dev .dependencies ]
1919pre-commit = " ^2.18.1"
20- black = {version = " ^22.3.0" , allow-prereleases = true }
2120xdoctest = " ^1.0.0"
2221poethepoet = " ^0.16.4"
23- ruff = " ^0.0.253 "
24- pytest = " 7.1.1"
25- pytest-html = " ^3 .1.1 "
26- pytest-sugar = " ^ 0.9.6"
27- pytest-reverse = " ^1.5 .0"
28- pytest-cov = " ^3.0.0 "
29- pytest-bdd = " ^6 .1.1 "
30- mkdocs = " ^1.4.2 "
31- mkdocs-material = " ^8 .5.10 "
32- mkdocs-gen-files = " ^0.4 .0"
33- mkdocs-awesome-pages-plugin = " ^2.8.0 "
34- mkapi = " ^1.0.14 "
22+ ruff = " >=0.1.7 "
23+ pytest = " >= 7.1.1"
24+ pytest-html = " >=4 .1.0 "
25+ pytest-sugar = " >= 0.9.6"
26+ pytest-cov = " >=5.0 .0"
27+ pytest-xdist = " >=3.6.1 "
28+ pytest-bdd = " >=7 .1.2 "
29+ mkdocs = " >=1.6.0 "
30+ mkdocs-material = " >=9 .5.0 "
31+ mkdocs-gen-files = " >=0.5 .0"
32+ mkdocs-awesome-pages-plugin = " >=2.9.2 "
33+ mkdocstrings = { extras = [ " python " ], version = " ^0.25.1 " }
3534
3635[tool .poetry .scripts ]
3736-c = " poethepoet:main"
@@ -40,15 +39,10 @@ mkapi = "^1.0.14"
4039requires = [" poetry-core>=1.0.0" ]
4140build-backend = " poetry.core.masonry.api"
4241
43- [tool .black ]
44- line-length = 79
45- target-version = [' py310' ]
46- include = ' \.pyi?$'
47-
4842[tool .ruff ]
49- ignore = [" E501" ]
43+ lint. ignore = [" E501" ]
5044line-length = 79
51- select = [
45+ lint. select = [
5246 " C9" ,
5347 " E" ,
5448 " F" ,
@@ -66,21 +60,20 @@ select = [
6660]
6761
6862
69- [tool .ruff .mccabe ]
63+ [tool .ruff .lint . mccabe ]
7064max-complexity = 10
7165
72- [tool .ruff .pydocstyle ]
66+ [tool .ruff .lint . pydocstyle ]
7367convention = " google"
7468
75- [tool .ruff .per-file-ignores ]
69+ [tool .ruff .lint . per-file-ignores ]
7670"tests/*" = [" S101" ]
7771
7872[tool .pytest .ini_options ]
7973minversion = " 6.0"
8074addopts = """
8175--verbose \
8276--maxfail=1 \
83- --reverse \
8477--color=yes \
8578--cov={{cookiecutter.package_name}} \
8679--html=docs/pytest_report.html \
@@ -119,9 +112,9 @@ test = "pytest"
119112install-pre-commit = " pre-commit install"
120113run-pre-commit = " pre-commit run --all-files"
121114pre-commit = [" install-pre-commit" , " run-pre-commit" ]
122- lint- ruff = " ruff check **/*.py --fix"
123- lint-black = " black **/*.py"
124- lint = [" lint-black " , " lint- ruff" ]
115+ ruff-check = " ruff check **/*.py --fix"
116+ ruff-format = " ruff format **/*.py"
117+ lint = [" ruff-check " , " ruff-format " ]
125118doc = " mkdocs serve --use-directory-urls -f docs/mkdocs.yaml"
126119doc-html = " mkdocs build --no-directory-urls -f docs/mkdocs.yaml"
127120doc-publish = """ mkdocs gh-deploy \
0 commit comments