ci: Lint source

This commit is contained in:
2023-10-29 09:55:39 +01:00
parent 53994b77a7
commit d28ca167f2
14 changed files with 267 additions and 65 deletions

View File

@@ -23,10 +23,14 @@ pytest-mock = "^3.12.0"
pre-commit = "^3.5.0"
commitizen = "^3.12.0"
black = "^23.10.1"
pylint = "^3.0.2"
[tool.poetry.group.docs.dependencies]
sphinx = "^7.2.6"
[tool.poetry.group.examples.dependencies]
pyyaml = "^6.0.1"
[tool.black]
line-length = 120
@@ -47,6 +51,9 @@ skip_covered = true
fail_under = 91
omit = ["examples/*"]
[tool.pylint.format]
max-line-length = 120
[tool.pytest.ini_options]
addopts = "--cov=. --no-cov-on-fail"
ignore = "examples"