-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
69 lines (59 loc) · 1.88 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
[build-system]
build-backend = "poetry.masonry.api"
requires = ["poetry>=0.12"]
[tool.poetry]
authors = ["Anthony Lukach <[email protected]>"]
description = "Replace Pydantic's builtin Secret Support with a configuration provider that loads parameters from AWS Systems Manager Parameter Store."
homepage = ""
license = "MIT"
maintainers = ["Anthony Lukach <[email protected]>"]
name = "pydantic-ssm-settings"
readme = "README.md"
repository = "https://github.com/developmentseed/pydantic-ssm-settings/"
version = "0.2.4"
[tool.poetry.dependencies]
"boto3" = "^1.21.45"
pydantic = "^1.6.2"
python = "^3.7"
[tool.poetry.dev-dependencies]
black = "^22.3.0"
boto3-stubs = {extras = ["ssm"], version = "^1.21.45"}
coverage = {extras = ["toml"], version = "^6.4.1"}
flake9 = "^3.8.3"
isort = "^5.9.3"
moto = {extras = ["all"], version = "^2.2.19"}
mypy = "^0.910"
pytest = "^6.2.5"
pytest-cov = "^2.12.1"
python-semantic-release = "^7.32.0"
[tool.semantic_release]
# https://python-semantic-release.readthedocs.io/en/latest/configuration.html
branch = "main"
build_command = "pip install poetry && poetry build" # https://github.com/relekang/python-semantic-release/issues/222#issuecomment-709326972
upload_to_pypi = true
upload_to_release = true
version_toml = "pyproject.toml:tool.poetry.version"
version_variable = "pydantic_ssm_settings/__init__.py:__version__"
[tool.flake8]
ignore = ["E203", "W503"]
max-complexity = 14
max-line-length = 90
[tool.pytest]
addopts = "-p no:hypothesispytest"
testpaths = "tests"
[tool.isort]
combine_as_imports = "true"
force_grid_wrap = 0
include_trailing_comma = "true"
known_first_party = "pydantic_ssm_settings"
line_length = 90
multi_line_output = 3
[tool.mypy]
files = "pydantic_ssm_settings"
python_version = 3.9
show_error_codes = "True"
[tool.coverage]
precision = 2
range = [95, 100]
[tool.coverage.comment]
layout = "header, diff, flags, files, footer"