-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
65 lines (61 loc) · 1.3 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
# see https://packaging.python.org/tutorials/packaging-projects/#creating-pyproject-toml
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
[tool.poetry]
name = "lonk"
version = "1.1.13"
description = "A simple link shortener."
license = "MIT"
authors = [
"AG DSN <services@agdsn.de>",
]
maintainers = [
"AG DSN <services@agdsn.de>",
]
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
# might move to `[project.dependencies]` once
# https://github.com/python-poetry/poetry/issues/3332 is resolved
[tool.poetry.dependencies]
python = "^3.9"
Flask = "^1.1.2"
pylint = "^2.7.2"
SQLAlchemy = "^1.3.23"
Flask-SQLAlchemy = "^2.4.4"
uWSGI = "^2.0.19"
sentry-sdk = {extras = ["flask"], version = "^1.0.0"}
psycopg2 = "^2.8.6"
MarkupSafe = "<2.1.0" # 2.1.0 removes `soft_unicode`, breaking the build
[tool.poetry.dev-dependencies]
pytest = "^6.2.2"
black = "^20.8b1"
pylint = "^2.7.2"
mypy = "^0.812"
ipython = "^7.21.0"
pytest-flask = "^1.2.0"
[tool.black]
line-length = 88
include = '''
(
^/tests/.*[.]py$
| ^/src/sphobjinv/.*[.]py$
| ^/setup[.]py
| ^/conftest[.]py
)
'''
exclude = '''
(
__pycache__
| ^/[.]
| ^/doc
| ^/env
)
'''