-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
59 lines (49 loc) · 1.27 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
[tool.poetry]
name = "aws-iam-login"
version = "0.3.6"
description = "Configures STS credentials using a MFA authenticated session."
authors = ["Joris Conijn <joris@conijnonline.nl>"]
license = "Apache2"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
click = "^8.1.6"
boto3 = "^1.28.19"
[tool.poetry.dev-dependencies]
pytest = "^8.3"
black = "^24.8"
pytest-cov = "^5.0"
mypy = "^1.13"
radon = "^6.0"
xenon = "^0.9"
twine = "^5.1"
[tool.poetry.scripts]
aws-iam-login = "aws_iam_login:main"
[tool.pytest]
testpaths = "tests"
[tool.mypy]
ignore_missing_imports = true
[tool.coverage.run]
branch = true
source = ["aws_iam_login"]
[tool.coverage.report]
show_missing = true
fail_under = 100
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"@abstract"
]
[tool.semantic_release]
build_command = "pip install poetry && poetry build"
version_variable = [
"aws_iam_login/__init__.py:__version__",
"pyproject.toml:version"
]
[tool.semantic_release.commit_parser_options]
allowed_tags = [ "build", "chore", "ci", "docs", "feat", "fix", "perf", "style", "refactor", "test" ]
minor_tags = [ "feat" ]
patch_tags = [ "fix", "perf", "refactor", "chore(deps)" ]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"