-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
54 lines (47 loc) · 1.1 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
include = 'tests\/.*\.pyi?$|src\/.*\.pyi?$|cli\/.*\.pyi?$'
exclude = 'cli/templates\/.*\.pyi?$|.tox\/.*\.pyi?$|.venv\/.*\.pyi?$'
# let's have all of our tools agree :)
# We already use black for formatting, so ensure it and isort agree
[tool.isort]
profile = "black"
[tool.ruff.lint]
ignore = [
# (Unused import): We stub some files with just imports to help people get started
"F401",
]
[tool.ruff.format]
docstring-code-format = true
[tool.poetry]
name = "simple-server"
version = "0.0.1"
description = "Simple backend server"
authors = [
"Alex Lee <[email protected]>"
]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.11"
flask = "*"
requests = "*"
flask-mail = "^0.10.0"
gevent = "^24.2.1"
[tool.poetry.group.dev.dependencies]
black = "*"
flake8 = "*"
flake8-bugbear = "*"
flake8-commas = "*"
flake8-docstrings = "*"
flake8-formatter-abspath = "*"
flake8-import-order = "*"
mypy = "<1.5"
pep8-naming = "*"
pylint = "*"
pytest = "*"
pytest-cov = "*"
pydocstyle = "*"
tox = "*"
isort = "*"