generated from ran-isenberg/aws-lambda-handler-cookbook
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
116 lines (104 loc) · 2.79 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
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
[tool.poetry]
name = "aws_lambda_env_modeler"
version = "2.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 = ["Ran Isenberg"]
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
repository="https://github.com/ran-isenberg/aws-lambda-env-modeler"
readme = "README.md"
keywords = ["environment variables parser", "aws lambda", "serverless best practices", "aws serverless", "lambda environment variables"]
license = "MIT-0"
packages = [
{ include = "aws_lambda_env_modeler" }]
[tool.poetry.urls]
"Issue tracker" = "https://github.com/ran-isenberg/aws-lambda-env-modeler/issues"
"Releases" = "https://github.com/ran-isenberg/aws-lambda-env-modeler/releases"
[tool.poetry.dependencies]
python = " ^3.9.0 || ^3.10.0 || ^3.11.0 || ^3.12.0 || ^3.13.0"
pydantic = {version = "^2.0.0"}
[tool.poetry.dev-dependencies]
pytest = "*"
pytest-mock = "*"
pycodestyle = "*"
pytest-cov = "*"
pytest-html = "*"
python-dateutil = "*"
python-dotenv = "*"
GitPython = "*"
radon = "*"
xenon = "*"
pre-commit = "*"
ruff = "*"
mkdocs-material = "*"
mkdocs-git-revision-date-plugin = "*"
types-cachetools = "*"
mypy = "*"
types-requests = "*"
toml = "*"
wheel = "*"
setuptools = "*"
[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.13
target-version = "py313"
[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"]