-
Notifications
You must be signed in to change notification settings - Fork 89
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (52 loc) · 1.38 KB
/
pyproject.toml
File metadata and controls
58 lines (52 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pyhss"
version = "1.0.2"
[project.scripts]
pyhss_api = "pyhss.services.apiService:main"
pyhss_database = "pyhss.services.databaseService:main"
pyhss_diameter = "pyhss.services.diameterService:main"
pyhss_geored = "pyhss.services.georedService:main"
pyhss_gsup = "pyhss.services.gsupService:main"
pyhss_hss = "pyhss.services.hssService:main"
pyhss_log = "pyhss.services.logService:main"
pyhss_metric = "pyhss.services.metricService:main"
[tool.setuptools]
packages = [
"pyhss.lib",
"pyhss.lib.gsup",
"pyhss.lib.gsup.controller",
"pyhss.lib.gsup.protocol",
"pyhss.services",
"pyhss.tools",
]
[tool.setuptools.package-dir]
pyhss = ""
[tool.pytest.ini_options]
addopts = "--tb=native"
log_level = "DEBUG"
pythonpath = "lib"
env = [
"PYHSS_CONFIG=tests/config.yaml"
]
filterwarnings = [
# Warning appears inside SQLAlchemy code, also might not make sense:
# https://github.com/python/cpython/issues/135834
"ignore:The default datetime adapter is deprecated as of Python 3.12"
]
markers = [
"slow",
]
[tool.ruff]
line-length = 120
include = [
"lib/databaseSchema.py",
"lib/pyhss_config.py",
"tests/test_database_upgrade_mariadb.py",
"tests/test_database_upgrade_postgresql.py",
"tests/test_database_upgrade_sqlite.py",
"tests/test_license_headers.py",
"tests/test_milenage.py",
]