-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
85 lines (72 loc) · 1.87 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
80
81
82
83
84
85
[tool.poetry]
name = "forestbot"
version = "1.2.6"
description = "Enables a Forest of MobileCoin enabled Signal bots"
#long_description = "Forest is an async framework for running payments-enabled chat and utility bots for Signal Messenger."
homepage = "https://github.com/mobilecoinofficial/forest"
authors = ["Forest <forest@mobilecoin.com>"]
license = "MIT"
packages = [{include = "forest"}, {include = "mc_util"}]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
aioprocessing = "*"
asyncpg = "*"
base58 = "*"
phonenumbers = "*"
prometheus_async = "*"
prometheus_client = "*"
protobuf = "*"
termcolor = "*"
ulid2 = "*"
pycryptodome = "*"
aiohttp = {extras = ["speedups"], version = "^3.8.1"}
[tool.poetry.dev-dependencies]
black = "*"
mypy = "*"
pylint = "*"
pytest = "*"
pytest-cov = "*"
pytest-asyncio = "*"
types-protobuf = "^3.19.12"
types-termcolor = "^1.1.3"
isort = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
ignore_missing_imports=true
disallow_untyped_calls=true
disallow_untyped_defs=true
disallow_untyped_decorators=true # eh
check_untyped_defs=true
warn_redundant_casts=true
warn_unused_ignores=true
warn_unused_configs=true
[tool.pylint.'MESSAGES CONTROL']
disable= [
"attribute-defined-outside-init",
"invalid-name",
"missing-docstring",
"protected-access",
"too-few-public-methods",
"too-many-instance-attributes",
"logging-fstring-interpolation",
"consider-using-with",
"consider-using-from-import",
"fixme",
# "no-self-use",
"unspecified-encoding",
# handled by black
"format",
"line-too-long",
]
[tool.pylint.TYPECHECK]
ignored-classes="PrintableWrapper"
[tool.pylint.VARIABLES]
dummy-variables-rgx="(_|dummy|unused|i)"
[tool.pylint.SIMILARITY]
min-similarity-lines=9
ignore-imports="yes"
[tool.pytest.ini_options]
asyncio_mode = "strict"