This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
83 lines (75 loc) · 1.95 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
[tool.poetry]
name = "apilytics"
version = "1.6.0"
description = "Apilytics for Python - Easy API analytics for Python backends"
license = "MIT"
authors = ["Apilytics <hello@apilytics.io>"]
readme = "README.md"
homepage = "https://apilytics.io"
repository = "https://github.com/apilytics/apilytics-python"
keywords = [
"api",
"backend",
"analytics",
"monitoring",
"middleware",
]
classifiers = [
# Poetry will automatically add Python version and license classifiers.
"Development Status :: 5 - Production/Stable",
"Environment :: Plugins",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: FastAPI",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Networking :: Monitoring",
"Typing :: Typed",
]
[tool.poetry.dependencies]
python = "^3.7"
[tool.poetry.dev-dependencies]
black = "21.12b0"
django = "3.2.11"
django-stubs = "1.9.0"
fastapi = "0.71.0"
flake8 = "4.0.1"
flask = "2.0.3"
isort = "5.10.1"
mypy = "0.921"
pytest = "6.2.5"
pytest-cov = "3.0.0"
pytest-django = "4.5.2"
requests = "2.27.0" # Not used by us, required by `fastapi.testclient.TestClient`.
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.django.app.settings"
[tool.coverage.run]
branch = true
omit = [
"*/tests/*",
]
[tool.isort]
profile = "black"
skip_glob = [
"*/.venv/*",
]
[tool.mypy]
strict = true
local_partial_types = true
warn_unreachable = true
pretty = true
show_error_codes = true
show_error_context = true
show_traceback = true
plugins = [
"mypy_django_plugin.main",
]
[tool.django-stubs]
django_settings_module = "tests.django.app.settings"