matrix-alertbot/setup.cfg

89 lines
2.3 KiB
INI
Raw Normal View History

[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.10
2024-08-04 11:29:27 +02:00
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
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
2024-01-22 11:35:13 +01:00
matrix-nio>=0.24.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
[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
2024-04-17 14:59:37 +02:00
pytest>=7.4.0
pytest-cov>=4.1.0
pytest-asyncio>=0.18.3
freezegun>=1.2.1
types-PyYAML>=6.0.9
types-setuptools>=62.6.0
e2e =
2024-01-22 11:35:13 +01:00
matrix-nio[e2e]>=0.24.0
all =
%(test)s
%(e2e)s
[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 =
env
.venv
.env
[isort]
line_length = 88
2020-08-10 00:02:07 +02:00
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,TESTS,LOCALFOLDER
default_section=THIRDPARTY
2022-06-13 20:55:01 +02:00
known_first_party=matrix_alertbot
known_tests=tests
multi_line_output=3
include_trailing_comma=true
combine_as_imports=true