-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
39 lines (31 loc) · 1.03 KB
/
pyproject.toml
File metadata and controls
39 lines (31 loc) · 1.03 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
[project]
name = "aws-lambda-python-template"
version = "1.0.0"
description = "A template for creating AWS Lambda functions with Python interacting with both RDS and external APIs."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"aiohttp>=3.12.15",
"boto3>=1.40.31",
"pydantic-settings>=2.10.1",
"pymysql>=1.1.2",
"requests>=2.32.5",
]
[tool.uv]
# Configure PyPI as the default index
index-url = "https://pypi.org/simple/"
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "C4", "ARG", "SIM", "PTH", "RUF"]
ignore = ["E501"] # Ignore line length warnings
# Allow autofix for all enabled rules (when `--fix` is passed)
fixable = ["ALL"]
unfixable = []
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "single"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"] # Ignore unused imports in __init__ files
"test_*.py" = ["ARG", "SIM"] # Ignore certain rules in test files