-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
64 lines (57 loc) · 1.29 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
[tool.poetry]
name = "fastcrudapi"
version = "0.1.4"
description = "The package helps to build CRUD APIs for models based on FastAPI."
authors = ["lpthong90 <lpthong90@gmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
fastapi = "^0.108.0"
[tool.poetry.dev-dependencies]
pytest = "^7.0.1"
mypy = "^0.971"
flake8 = "^5.0.4"
black = "^22.10.0"
pillow = "^9.3.0"
cairosvg = "^2.5.2"
mkdocs = "^1.2.1"
mkdocs-material = "^8.1.4"
mdx-include = "^1.4.1"
coverage = {extras = ["toml"], version = "^6.2"}
autoflake = "^1.4"
isort = "^5.9.3"
ruff = "^0.1.2"
[tool.poetry.extras]
sqlmodel = ["sqlmodel"]
SQLAlchemy = ["SQLAlchemy"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
"W191", # indentation contains tabs
]
[tool.ruff.isort]
known-third-party = ["fastapi"]
[tool.coverage.run]
parallel = true
source = [
"docs_src",
"tests",
"fastcrudapi"
]
context = '${CONTEXT}'
omit = [
]