-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
79 lines (70 loc) · 1.53 KB
/
pyproject.toml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "bmon"
description = "A high-level monitoring system for Bitcoin Core"
readme = "README.rst"
requires-python = ">=3.10"
keywords = ["bitcoin"]
license = {text = "MIT License"}
classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
'importlib-metadata; python_version<"3.10"',
'psycopg2', # for postgresql support
'django',
'redis[hiredis]',
'huey @ git+https://github.com/jamesob/huey.git',
'walrus',
'django-ninja',
'whitenoise',
'fastavro',
'clii',
'google-cloud-storage',
'prometheus-client',
'sentry-sdk',
]
version = "0.0.1"
[project.scripts]
bmon-watch-bitcoind-logs = "bmon.bitcoind_tasks:watch_bitcoind_logs"
bmon-util = "bmon.util_cli:main"
bmon-bitcoind-monitor = "bmon.bitcoind_monitor:main"
bmon-server-monitor = "bmon.server_monitor:main"
[project.optional-dependencies]
tests = [
'pytest',
'pytest-django',
'django-stubs',
'mypy',
'flake8',
'types-redis',
]
[tool.setuptools]
packages = ["bmon"]
[tool.mypy]
plugins = ["mypy_django_plugin.main"]
exclude = [
"migrations/*",
"bitcoin/rpc.py",
]
[[tool.mypy.overrides]]
module = [
'walrus',
'huey',
'pygments',
'pygments.*',
'sqlparse',
'clii',
'google.*',
'bmon_infra',
'fscm.*',
]
ignore_missing_imports = true
[tool.pylsp-mypy]
enabled = true
live_mode = true
strict = false
[tool.django-stubs]
django_settings_module = "bmon.settings"