-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (52 loc) · 1.04 KB
/
pyproject.toml
File metadata and controls
59 lines (52 loc) · 1.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
[tool.poetry]
name = "sample-python-api"
version = "0.1.0"
description = ""
authors = ["gsamil <abdullah-s-guser@hotmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
pre-commit = "^3.6.0"
flask = "2.2.2"
graphql-core = "3.2.1"
pymongo = "4.2.0"
strawberry-graphql = "0.219.0"
streamlit = "1.13.0"
pydantic = "1.10.2"
mypy = "0.991"
python-json-logger = "2.0.7"
slist = "0.1.9"
pytest = "^7.4.4"
black = "^23.12.1"
flake8 = "^7.0.0"
isort = "^5.13.2"
bcrypt = "^4.1.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 79
target-version = ['py310']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
)/
'''
[tool.flake8]
max-line-length = 130
extend-ignore = ["D203", "E203", "E251", "E266", "E302", "E305", "E401", "E402", "E501", "F401", "F403", "W503"]
exclude = [".git", "__pycache__", "dist"]
max-complexity = 10
[tool.isort]
atomic = true
profile = "black"
line_length = 130
skip_gitignore = true