generated from ran-isenberg/aws-lambda-handler-cookbook
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
128 lines (115 loc) · 2.9 KB
/
pyproject.toml
File metadata and controls
128 lines (115 loc) · 2.9 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "aws_lambda_env_modeler"
version = "3.0.0"
description = "AWS-Lambda-Env-Modeler is a Python library designed to simplify the process of managing and validating environment variables in your AWS Lambda functions."
authors = [{ name = "Ran Isenberg" }]
requires-python = ">=3.10.0,<4"
readme = "README.md"
license = "MIT-0"
keywords = [
"environment variables parser",
"aws lambda",
"serverless best practices",
"aws serverless",
"lambda environment variables",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = ["pydantic>=2.12.0,<3"]
[project.urls]
Repository = "https://github.com/ran-isenberg/aws-lambda-env-modeler"
"Issue tracker" = "https://github.com/ran-isenberg/aws-lambda-env-modeler/issues"
Releases = "https://github.com/ran-isenberg/aws-lambda-env-modeler/releases"
[dependency-groups]
dev = [
"pytest",
"pytest-mock",
"pycodestyle",
"pytest-cov",
"pytest-html",
"python-dateutil",
"python-dotenv",
"GitPython",
"radon",
"xenon",
"pre-commit",
"ruff",
"zensical",
"types-cachetools",
"mypy",
"types-requests",
"toml",
"wheel",
"setuptools",
]
[tool.hatch.build.targets.sdist]
include = ["aws_lambda_env_modeler"]
[tool.hatch.build.targets.wheel]
include = ["aws_lambda_env_modeler"]
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
"cdk.out",
".vscode",
".pytest_cache",
".build",
".mypy_cache",
".github"
]
# Same as Black.
line-length = 150
indent-width = 4
# Assume Python 3.14
target-version = "py314"
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [ "E203", "E266", "E501", "W191"]
[tool.ruff.format]
quote-style = "single"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"
[tool.ruff.lint.isort]
known-third-party = ["pydantic", "aws_lambda_powertools"]