-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
45 lines (39 loc) · 989 Bytes
/
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
[tool.poetry]
name = "shortcake"
version = "0.1.0"
description = ""
authors = ["Bryce Beagle <bryce dot beagle at gmail dot com>"]
[tool.poetry.dependencies]
python = "^3.8"
peewee = "^3.14.1"
sqlalchemy = "^1.4"
sqlalchemy-utils = "^0.38"
psycopg2-binary = "^2.8.6"
strawberry-graphql = "^0.103.8"
uvicorn = "^0.17.6"
starlette = "^0.19.0"
[tool.poetry.dev-dependencies]
pytest = "^7.1.1"
pre-commit = "^2.10.1"
black = "^22.1"
isort = "^5.7.0"
poethepoet = "^0.13.1"
mypy = "^0.941"
sqlalchemy-stubs = "^0.4"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra"
testpaths = ["tests"]
cache_dir = "tests/.pytest_cache"
xfail_strict = true
[tool.isort]
profile = "black"
src_paths = ["shortcake/"]
known_first_party = ["shortcake"]
known_tests = ["tests"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "TESTS", "LOCALFOLDER"]
[tool.poe.tasks]
tests = "python -m pytest"