-
-
Notifications
You must be signed in to change notification settings - Fork 242
Expand file tree
/
Copy pathpyproject.toml
More file actions
122 lines (89 loc) · 2.04 KB
/
pyproject.toml
File metadata and controls
122 lines (89 loc) · 2.04 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
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[tool.poetry]
name = "memegen"
version = "11.2"
description = "The free and open source API to generate memes."
authors = ["Jace Browning <support@maketested.com>"]
license = "MIT"
packages = [{ include = "app" }]
[tool.poetry.dependencies]
python = "^3.13"
# Sanic
sanic = "~25.12" # run 'poetry update sanic-ext sanic-testing' when changing this
sanic-ext = "*"
# Markdown
markdown = "~3.10"
pymdown-extensions = "^10.21"
pygments = "^2.20.0"
# Images
pillow = "~12.1"
pilmoji = { git = "https://github.com/jay3332/pilmoji", branch = "2.0" }
spongemock = "~1.0.0"
# Utilities
aiocache = "~0.12.3"
aiohttp = "^3.13.4"
anyio = "^4.12.1"
datafiles = "^2.3.4"
furl = "^2.1.4"
webp = "~0.4"
# Production
bugsnag = "^4.8"
gunicorn = "^25.1"
uvicorn = "~0.40.0"
[tool.poetry.group.dev.dependencies]
# Formatting
isort = "^7.0"
black = "^26.3"
# Type Checking
mypy = "^1.19.1"
autoflake = "^2.3"
types-aiofiles = "*"
types-requests = "*"
types-setuptools = "*"
# Testing
pytest = "^9.0.2"
pytest-asyncio = "*"
pytest-describe = "^3.0"
pytest-expecter = "^3.0"
pytest-random = "*"
pytest-cov = "^7.0"
sanic-testing = "*"
aioresponses = "*"
locust = "^2.42.2"
# Coverage
coveragespace = "^6.1"
# Documentation
mkdocs = "^1.2.3"
# Utilities
honcho = "^2.0"
ipdb = "*"
rope = "^1.14"
watchdog = { version = "^6.0", extras = ["watchmedo"] }
[tool.black]
quiet = true
[tool.isort]
profile = "black"
[tool.mypy]
ignore_missing_imports = true
no_implicit_optional = true
check_untyped_defs = true
plugins = "datafiles.plugins:mypy"
cache_dir = ".cache/mypy/"
[tool.pytest.ini_options]
testpaths = "app"
addopts = """
--no-header \
--random \
--show-capture=log \
-rxX \
--cov=app --cov-report=term-missing:skip-covered --cov-report=html:.cache/htmlcov --no-cov-on-fail
"""
cache_dir = ".cache/pytest/"
markers = "slow"
asyncio_mode = "strict"
filterwarnings = [
"ignore::DeprecationWarning:websockets.legacy",
"ignore::DeprecationWarning:sanic.logging.deprecation",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"