-
-
Notifications
You must be signed in to change notification settings - Fork 194
/
pyproject.toml
121 lines (87 loc) · 2.04 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[tool.poetry]
name = "memegen"
version = "11.1"
description = "The free and open source API to generate memes."
authors = ["Jace Browning <[email protected]>"]
license = "MIT"
packages = [{ include = "app" }]
[tool.poetry.dependencies]
python = "~3.12.2"
# Sanic
sanic = "~24.6" # run 'poetry update sanic-ext sanic-testing' when changing this
sanic-ext = "*"
# Markdown
markdown = "~3.5.1"
pymdown-extensions = "^10.0"
pygments = "^2.15.0"
# Images
pillow = "^10.4" # run 'poetry update types-pillow' when changing this
pilmoji = { git = "https://github.com/jay3332/pilmoji", branch = "2.0" }
spongemock = "~0.3.4"
# Utilities
aiocache = "~0.11.1"
aiohttp = "^3.10.11"
anyio = "^3.6.2"
datafiles = "^2.2.3"
furl = "^2.1.3"
webp = "~0.3"
# Production
bugsnag = "^4.6"
gunicorn = "^22.0"
uvicorn = "~0.23.2"
locust = { version = "^2.12", optional = true }
[tool.poetry.group.dev.dependencies]
# Formatting
isort = "^5.12"
black = "^24.3"
# Type Checking
mypy = "^1.4.1"
autoflake = "^2.1"
types-aiofiles = "*"
types-pillow = "*"
types-requests = "*"
types-setuptools = "*"
# Testing
pytest = "^7.1.3"
pytest-asyncio = "*"
pytest-describe = "^2.0"
pytest-expecter = "^3.0"
pytest-random = "*"
pytest-cov = "^4.1"
sanic-testing = "*"
aioresponses = "*"
# Coverage
coveragespace = "^6.1"
# Documentation
mkdocs = "^1.2.3"
# Utilities
honcho = "^1.1"
ipdb = "*"
rope = "^0.18"
watchdog = { version = "^2.2", extras = ["watchmedo"] }
[tool.poetry.extras]
testing = ["locust"]
[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 \
--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"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"