2022-08-14 15:20:49 +02:00
|
|
|
[metadata]
|
|
|
|
name = matrix-alertbot
|
|
|
|
url= https://gitlab.domainepublic.net/Neutrinet/matrix-alertbot
|
|
|
|
description = A matrix bot to manage alerts from Alertmanager
|
|
|
|
long_description = file: README.md
|
|
|
|
long_description_content_type = text/markdown; charset=UTF-8
|
|
|
|
license_files = LICENSE
|
|
|
|
classifiers=
|
|
|
|
License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
|
|
|
|
Programming Language :: Python :: 3 :: Only
|
|
|
|
Programming Language :: Python :: 3.9
|
|
|
|
Programming Language :: Python :: 3.10
|
|
|
|
project_urls =
|
|
|
|
Documentation = https://gitlab.domainepublic.net/Neutrinet/matrix-alertbot/-/blob/master/README.md
|
|
|
|
Source = https://gitlab.domainepublic.net/Neutrinet/matrix-alertbot
|
|
|
|
Tracker = https://gitlab.domainepublic.net/Neutrinet/matrix-alertbot/-/issues
|
|
|
|
|
|
|
|
[options]
|
|
|
|
zip_safe = False
|
|
|
|
packages = find:
|
|
|
|
platforms = any
|
|
|
|
include_package_data = True
|
|
|
|
install_requires =
|
|
|
|
aiohttp>=3.8.1
|
|
|
|
aiohttp-prometheus-exporter>=0.2.4
|
|
|
|
aiotools>=1.5.9
|
|
|
|
diskcache>=5.4.0
|
|
|
|
jinja2>=3.1.2
|
|
|
|
matrix-nio>=0.19.0
|
|
|
|
Markdown>=3.3.7
|
|
|
|
pytimeparse2>=1.4.0
|
|
|
|
PyYAML>=5.4.1
|
|
|
|
typing-extensions>=4.3.0
|
|
|
|
python_requires = >=3.9
|
|
|
|
setup_requires =
|
|
|
|
setuptools_scm
|
|
|
|
|
|
|
|
[aliases]
|
|
|
|
test = pytest
|
|
|
|
|
|
|
|
[options.entry_points]
|
|
|
|
console_scripts =
|
2022-08-27 13:44:12 +02:00
|
|
|
matrix-alertbot = matrix_alertbot.main:main
|
2022-08-14 15:20:49 +02:00
|
|
|
|
|
|
|
[options.extras_require]
|
|
|
|
test =
|
|
|
|
coverage>=6.4.1
|
|
|
|
black>=22.6.0
|
|
|
|
flake8>=4.0.1
|
|
|
|
flake8-comprehensions>=3.10.0
|
|
|
|
isort>=5.10.1
|
|
|
|
mypy>=0.961
|
|
|
|
pytest>=7.1.2
|
|
|
|
pytest-asyncio>=0.18.3
|
|
|
|
freezegun>=1.2.1
|
|
|
|
types-PyYAML>=6.0.9
|
|
|
|
types-setuptools>=62.6.0
|
|
|
|
e2e =
|
|
|
|
matrix-nio[e2e]>=0.19.0
|
|
|
|
all =
|
|
|
|
%(test)s
|
|
|
|
%(e2e)s
|
|
|
|
|
2020-08-07 02:01:20 +02:00
|
|
|
[flake8]
|
|
|
|
# see https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
|
|
|
|
# for error codes. The ones we ignore are:
|
|
|
|
# W503: line break before binary operator
|
|
|
|
# W504: line break after binary operator
|
|
|
|
# E203: whitespace before ':' (which is contrary to pep8?)
|
|
|
|
# E731: do not assign a lambda expression, use a def
|
|
|
|
# E501: Line too long (black enforces this for us)
|
|
|
|
ignore=W503,W504,E203,E731,E501
|
2022-07-09 15:25:16 +02:00
|
|
|
exclude =
|
2022-08-14 15:20:49 +02:00
|
|
|
env
|
|
|
|
.venv
|
|
|
|
.env
|
2020-08-07 02:01:20 +02:00
|
|
|
|
|
|
|
[isort]
|
|
|
|
line_length = 88
|
2020-08-10 00:02:07 +02:00
|
|
|
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,TESTS,LOCALFOLDER
|
2020-08-07 02:01:20 +02:00
|
|
|
default_section=THIRDPARTY
|
2022-06-13 20:55:01 +02:00
|
|
|
known_first_party=matrix_alertbot
|
2020-08-07 02:01:20 +02:00
|
|
|
known_tests=tests
|
|
|
|
multi_line_output=3
|
|
|
|
include_trailing_comma=true
|
|
|
|
combine_as_imports=true
|