ci: Use black instead of flake8

It results in mostly the same style, plus it’s configurable via pyprojects.toml.
This commit is contained in:
2023-10-29 09:47:57 +01:00
parent bbfc137ca8
commit 93f2d329a4
14 changed files with 221 additions and 117 deletions

View File

@@ -23,10 +23,14 @@ pytest-asyncio = "^0.21.1"
pytest-mock = "^3.12.0"
pre-commit = "^3.5.0"
commitizen = "^3.12.0"
black = "^23.10.1"
[tool.poetry.group.docs.dependencies]
sphinx = "^7.2.6"
[tool.black]
line-length = 120
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "$version"