mirror of
https://github.com/SigNoz/signoz.git
synced 2026-02-03 08:33:26 +00:00
Some checks failed
build-staging / prepare (push) Has been cancelled
build-staging / js-build (push) Has been cancelled
build-staging / go-build (push) Has been cancelled
build-staging / staging (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
* chore: fixture for notification channel * chore: return notification channel info in Create notification channel API * fix: change scope of create channel fixture to function level * test: added fixture for creating alert rule * chore: added debug message on assertion failure * refactor: improve error handling in webhook notification channel deletion * fix: enhance error handling in alert rule creation and deletion * chore: ran py linter and fmt * chore: ran py linter and fmt * fix: add timeout to alert rule creation and deletion requests * fix: silenced pylint on too broad exception * fix: suppress pylint warnings for broad exception handling in alert rule deletion * test: added fixture for inserting alert data * refactor: added fixture for getting test data file path * feat: add alerts to integration CI workflow * chore: linter fixes * chore: changed scope for get_testdata_file_path * chore: py-formatter * chore: py-formatter * chore: updated get_testdata_file_path fixture to a util function * chore: removed wrong ref --------- Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
63 lines
1.7 KiB
TOML
63 lines
1.7 KiB
TOML
[project]
|
|
name = "integration"
|
|
version = "0.1.0"
|
|
description = ""
|
|
authors = [{ name = "therealpandey", email = "vibhupandey28@gmail.com" }]
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"pytest>=8.3.5",
|
|
"psycopg2>=2.9.10",
|
|
"testcontainers[clickhouse,keycloak,postgres]>=4.13.1",
|
|
"wiremock>=2.6.1",
|
|
"numpy>=2.3.2",
|
|
"clickhouse-connect>=0.8.18",
|
|
"svix-ksuid>=0.6.2",
|
|
"requests>=2.32.4",
|
|
"sqlalchemy>=2.0.43",
|
|
"selenium>=4.40.0",
|
|
"isodate>=0.7.2",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pylint>=3.3.6",
|
|
"isort>=6.0.1",
|
|
"autoflake>=2.3.1",
|
|
"black>=25.1.0",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
python_files = "src/**/**.py"
|
|
log_cli = true
|
|
log_format = "%(asctime)s [%(levelname)s] (%(filename)s:%(lineno)s) %(message)s"
|
|
log_date_format = "%Y-%m-%d %H:%M:%S"
|
|
addopts = "-ra -p no:warnings"
|
|
|
|
[tool.pylint.main]
|
|
ignore = [".venv"]
|
|
|
|
[tool.pylint.format]
|
|
max-line-length = "400"
|
|
|
|
[tool.pylint.basic]
|
|
# test ordering (example; 01_abc.py)
|
|
module-rgx = "(([0-9]+_)?[a-z_][a-z0-9_]*)|(__.*__)$"
|
|
|
|
# to avoid overly restrictive pylint naming for attributes
|
|
attr-rgx = "([A-Z_][A-Z0-9_]*|[a-z_][a-z0-9_]*|(__.*__))$"
|
|
class-attribute-rgx = "([A-Z_][A-Z0-9_]*|[a-z_][a-z0-9_]*|(__.*__))$"
|
|
class-const-rgx = "[A-Z_][A-Z0-9_]*$"
|
|
|
|
[tool.pylint."messages control"]
|
|
disable = ["missing-module-docstring", "missing-function-docstring", "missing-class-docstring", "duplicate-code", "dangerous-default-value", "too-many-positional-arguments", "too-many-arguments", "too-few-public-methods", "too-many-instance-attributes", "too-many-locals", "too-many-statements", "too-many-lines"]
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
|
|
[tool.autoflake]
|
|
recursive = true
|
|
remove-all-unused-imports = true
|
|
remove-unused-variables = true
|
|
exclude = [".venv/**"]
|
|
in-place = true
|