-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
104 lines (97 loc) · 3.57 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[tool.poetry]
name = "donate4.fun"
version = "0.1.0"
description = ""
authors = ["Nikolay Bryskin <[email protected]>"]
readme = "README.md"
license = "MIT"
repository = "https://github.com/donate4fun/donate4fun"
packages = [
{ include = "donate4fun" },
]
[tool.poetry.dependencies]
python = "^3.11"
httpx = "^0.23.0"
fastapi = "^0.77.1"
qrcode = {extras = ["pil"], version = "^7.3.1"}
uvicorn = "^0.17.6"
Jinja2 = "^3.1.2"
pymaging = {git = "https://github.com/ojii/pymaging.git"}
pymaging-png = {git = "https://github.com/ojii/pymaging-png.git"}
python-multipart = "^0.0.5"
PyYAML = "^6.0"
itsdangerous = "^2.1.2"
aiogoogle = "^4.1.0"
databases = {extras = ["asyncpg"], version = "^0.5.5"}
asyncpg = "0.28"
hypercorn = {git = "https://github.com/nikicat/hypercorn"}
email-validator = "^1.2.1"
fastapi-debug-toolbar = "^0.2.1"
PyJWT = "^2.4.0"
Mako = "^1.2.0"
starlette-authlib = "^0.1.9"
multiavatar = "^1.0.3"
funkybob = {git = "https://github.com/nikicat/funkybob"}
setuptools = "^65.5.1"
lnurl = "^0.3.6"
bugsnag = "^4.2.1"
lightning-payencode = {git = "https://github.com/donate4fun/lightning-payencode"}
ecdsa = "^0.17.0"
rollbar = "^0.16.3"
pyinstrument = "^4.3.0"
alembic = "^1.8.1"
furl = "^2.1.3"
authlib = "^1.1.0"
glom = "^22.1.0"
playwright = "^1.28.0"
async-lru = "^1.0.3"
google-cloud-logging = "^3.3.0"
py = "^1.11.0"
posthog = "^2.2.0"
jwskate = "^0.5.0"
sentry-sdk = "^1.13.0"
jwcrypto = "^1.4.2"
cairosvg = "^2.6.0"
[tool.poetry.dev-dependencies]
ipython = "^8.3.0"
flake8 = "^4.0.1"
pytest = "^7.1.2"
SQLAlchemy-Utils = "^0.38.2"
anyio = "^3.6.1"
pytest-icdiff = "^0.5"
vcrpy = {git = "https://github.com/nikicat/vcrpy", branch = "fix-httpx-stub"}
pytest-freezegun = "^0.4.2"
asgi-testclient = {git = "https://github.com/nikicat/asgi-testClient", rev = "fix-busy-loop"}
pytest-lazy-fixture = "^0.6.3"
[tool.poetry.group.dev.dependencies]
pytest-asyncio = {git = "https://github.com/nikicat/pytest-asyncio"}
psutil = "^5.9.4"
watchfiles = "^0.18.1"
coverage = "^7.0.2"
pytest-recording = "^0.12.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.flakehell]
format = "colored"
max_line_length = 130
[tool.poetry.scripts]
withdraw = 'donate4fun.scripts:withdraw'
pay = 'donate4fun.scripts:pay'
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore:Inheritance class AiohttpSession from ClientSession is discouraged:DeprecationWarning",
# freezegun related
"ignore:datetime.datetime size changed, may indicate binary incompatibility. Expected 48 from C header, got 56 from PyObject:RuntimeWarning",
"ignore:datetime.date size changed, may indicate binary incompatibility. Expected 32 from C header, got 40 from PyObject:RuntimeWarning",
"ignore:datetime.date size changed, may indicate binary incompatibility. Expected 32 from C header, got 48 from PyObject:RuntimeWarning",
# https://github.com/ktosiek/pytest-freezegun/issues/35
"ignore:distutils Version classes are deprecated. Use packaging.version instead:DeprecationWarning",
# Rollbar triggers warning in httpx
"ignore:Use 'content=<...>' to upload raw bytes/text content.:DeprecationWarning",
"ignore:invalid escape sequence:DeprecationWarning",
"ignore:.*Deprecated API features detected! These feature\\(s\\) are not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to updating applications, ensure requirements files are pinned to .*. Set environment variable SQLALCHEMY_WARN_20=1 to show all deprecation warnings. Set environment variable SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message.*",
]
asyncio_mode = "auto"
testpaths = ["tests"]