update tooling & lints

This commit is contained in:
Guilhem Saurel
2023-03-07 12:59:44 +01:00
parent b7dad4992d
commit 5f27f40e12
6 changed files with 284 additions and 196 deletions

View File

@@ -11,25 +11,31 @@ repository = "https://github.com/nim65s/matrix-webhook.git"
[tool.poetry.urls]
"changelog" = "https://github.com/nim65s/matrix-webhook/blob/master/CHANGELOG.md"
[tool.poetry.scripts]
matrix-webhook = "matrix_webhook.__main__:main"
[tool.poetry.dependencies]
python = "^3.8"
Markdown = "^3.3.4"
matrix-nio = ">=0.18.3,<0.21.0"
[tool.poetry.dev-dependencies]
httpx = "^0.23.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
black = "^22.8.0"
coverage = "^6.4.4"
pydocstyle = "^6.1.1"
flake8 = "^5.0.4"
pyupgrade = "^2.31.0"
httpx = "^0.23.0"
isort = "^5.12.0"
pydocstyle = "^6.1.1"
[tool.pydocstyle]
ignore = ["D200", "D203", "D204", "D212"]
add-ignore = ["D200", "D203", "D204", "D212"]
[tool.isort]
profile = "black"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
matrix-webhook = "matrix_webhook.__main__:main"