-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (57 loc) · 1.26 KB
/
pyproject.toml
File metadata and controls
66 lines (57 loc) · 1.26 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
60
61
62
63
64
65
66
[tool.poetry]
name = "serverless-api"
version = "0.0.0"
description = "Infrastructure for a serverless Rust API."
authors = []
readme = "README.md"
packages = [{ include = "stack", from = "infrastructure" }]
[tool.poetry.group.main.dependencies]
python = "^3.11"
aws-cdk-lib = "^2.147"
[tool.poetry.group.dev.dependencies]
mypy = "^1.10"
ruff = "^0.3"
[tool.mypy]
ignore_missing_imports = true
disallow_untyped_defs = true
[tool.ruff]
exclude = [
".git",
".git-rewrite",
".ipynb_checkpoints",
".mypy_cache",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".venv",
".vscode",
"__pypackages__",
"_build",
"build",
"dist",
"site-packages",
]
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"C", # flake8-comprehensions
"E", # pycodestyle errors
"F", # pyflakes
"I", # imports
"N", # PEP 8 naming convention
"W", # pycodestyle warnings
]
ignore = [
"E501", # line too long, handled by formatter
"W291", # trailing whitespace, handled by formatter
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"