forked from allient/create-fastapi-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
61 lines (51 loc) · 1.42 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
[tool.poetry]
name = "create-fastapi-project"
version = "0.2.5"
description = ""
authors = ["jonra1993 <jvargas@allient.io>"]
readme = "README.md"
packages = [{include = "create_fastapi_project"}]
[tool.black]
line-length = 88
target-version = [ "py310", "py311" ]
exclude = "((.eggs | .git | .pytest_cache | build | dist | create_fastapi_project/templates/))"
[tool.ruff]
line-length = 88
exclude = [".git", "__pycache__", ".mypy_cache", ".pytest_cache", "create_fastapi_project/templates/"]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
# "I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"B904",
"B006",
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
exclude = ["alembic", "__pycache__"]
[tool.poetry.scripts]
create-fastapi-project = "create_fastapi_project.main:app"
[tool.poetry.dependencies]
python = "^3.10"
typer = {extras = ["all"], version = "^0.12.0"}
questionary = "^2.0.0"
toml = "^0.10.2"
python-dotenv = "^1.0.0"
[tool.poetry.group.dev.dependencies]
black = "^23.7.0"
mypy = "^1.5.0"
ruff = "^0.0.284"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"