toml-sort

This commit is contained in:
Guilhem Saurel 2023-03-08 15:44:28 +01:00
parent 1f072d31c8
commit 2f05e34144
2 changed files with 27 additions and 19 deletions

View File

@ -40,3 +40,8 @@ repos:
- id: pyupgrade
args:
- --py38-plus
- repo: https://github.com/pappasam/toml-sort
rev: v0.22.4
hooks:
- id: toml-sort-fix
exclude: 'poetry.lock'

View File

@ -1,23 +1,24 @@
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[tool.isort]
profile = "black"
[tool.poetry]
name = "matrix-webhook"
version = "3.6.0"
description = "Post a message to a matrix room with a simple HTTP POST"
authors = ["Guilhem Saurel <guilhem.saurel@laas.fr>"]
license = "BSD-2-Clause"
readme = "README.md"
description = "Post a message to a matrix room with a simple HTTP POST"
homepage = "https://github.com/nim65s/matrix-webhook"
license = "BSD-2-Clause"
name = "matrix-webhook"
readme = "README.md"
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"
version = "3.6.0"
[tool.poetry.dependencies]
python = "^3.8"
Markdown = "^3.3.4"
matrix-nio = ">=0.18.3,<0.21.0"
python = "^3.8"
[tool.poetry.group.dev]
optional = true
@ -29,14 +30,16 @@ flake8 = "^5.0.4"
httpx = "^0.23.0"
isort = "^5.12.0"
pydocstyle = "^6.1.1"
safety = {version = "^2.4.0b1", allow-prereleases = true}
safety = {allow-prereleases = true, version = "^2.4.0b1"}
[tool.poetry.scripts]
matrix-webhook = "matrix_webhook.__main__:main"
[tool.poetry.urls]
"changelog" = "https://github.com/nim65s/matrix-webhook/blob/master/CHANGELOG.md"
[tool.pydocstyle]
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.tomlsort]
all = true