stsmfa-cli 1.7.0__tar.gz → 1.8.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stsmfa_cli-1.7.0/src/stsmfa_cli.egg-info → stsmfa_cli-1.8.0}/PKG-INFO +4 -3
- {stsmfa_cli-1.7.0 → stsmfa_cli-1.8.0}/README.md +2 -2
- {stsmfa_cli-1.7.0 → stsmfa_cli-1.8.0}/pyproject.toml +25 -49
- stsmfa_cli-1.8.0/src/stsmfa/__init__.py +1 -0
- {stsmfa_cli-1.7.0 → stsmfa_cli-1.8.0/src/stsmfa_cli.egg-info}/PKG-INFO +4 -3
- {stsmfa_cli-1.7.0 → stsmfa_cli-1.8.0}/tests/test_cli.py +1 -1
- stsmfa_cli-1.7.0/src/stsmfa/__init__.py +0 -1
- {stsmfa_cli-1.7.0 → stsmfa_cli-1.8.0}/LICENSE +0 -0
- {stsmfa_cli-1.7.0 → stsmfa_cli-1.8.0}/setup.cfg +0 -0
- {stsmfa_cli-1.7.0 → stsmfa_cli-1.8.0}/src/stsmfa/__maIn__.py +0 -0
- {stsmfa_cli-1.7.0 → stsmfa_cli-1.8.0}/src/stsmfa/cli.py +0 -0
- {stsmfa_cli-1.7.0 → stsmfa_cli-1.8.0}/src/stsmfa/py.typed +0 -0
- {stsmfa_cli-1.7.0 → stsmfa_cli-1.8.0}/src/stsmfa_cli.egg-info/SOURCES.txt +0 -0
- {stsmfa_cli-1.7.0 → stsmfa_cli-1.8.0}/src/stsmfa_cli.egg-info/dependency_links.txt +0 -0
- {stsmfa_cli-1.7.0 → stsmfa_cli-1.8.0}/src/stsmfa_cli.egg-info/entry_points.txt +0 -0
- {stsmfa_cli-1.7.0 → stsmfa_cli-1.8.0}/src/stsmfa_cli.egg-info/requires.txt +0 -0
- {stsmfa_cli-1.7.0 → stsmfa_cli-1.8.0}/src/stsmfa_cli.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: stsmfa-cli
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.8.0
|
|
4
4
|
Summary: A small CLI to help with creating AWS profile for MFA protected sessions
|
|
5
5
|
Author-email: Bruno Alla <alla.brunoo@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -17,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.13
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
20
21
|
Classifier: Topic :: Software Development :: Libraries
|
|
21
22
|
Requires-Python: >=3.10
|
|
22
23
|
Description-Content-Type: text/markdown
|
|
@@ -43,8 +44,8 @@ Dynamic: license-file
|
|
|
43
44
|
<a href="https://github.com/astral-sh/ruff">
|
|
44
45
|
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
|
|
45
46
|
</a>
|
|
46
|
-
<a href="https://github.com/
|
|
47
|
-
<img src="https://img.shields.io/
|
|
47
|
+
<a href="https://github.com/j178/prek">
|
|
48
|
+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json" alt="prek">
|
|
48
49
|
</a>
|
|
49
50
|
</p>
|
|
50
51
|
<p align="center">
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
<a href="https://github.com/astral-sh/ruff">
|
|
16
16
|
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
|
|
17
17
|
</a>
|
|
18
|
-
<a href="https://github.com/
|
|
19
|
-
<img src="https://img.shields.io/
|
|
18
|
+
<a href="https://github.com/j178/prek">
|
|
19
|
+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json" alt="prek">
|
|
20
20
|
</a>
|
|
21
21
|
</p>
|
|
22
22
|
<p align="center">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "stsmfa-cli"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.8.0"
|
|
4
4
|
description = "A small CLI to help with creating AWS profile for MFA protected sessions"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = { text = "MIT" }
|
|
@@ -19,9 +19,9 @@ classifiers = [
|
|
|
19
19
|
"Programming Language :: Python :: 3.12",
|
|
20
20
|
"Programming Language :: Python :: 3.13",
|
|
21
21
|
"Programming Language :: Python :: 3.14",
|
|
22
|
+
"Programming Language :: Python :: 3.15",
|
|
22
23
|
"Topic :: Software Development :: Libraries",
|
|
23
24
|
]
|
|
24
|
-
|
|
25
25
|
dependencies = [
|
|
26
26
|
"boto3>=1.26,<2",
|
|
27
27
|
"rich>=10",
|
|
@@ -35,15 +35,15 @@ scripts.stsmfa = "stsmfa.cli:app"
|
|
|
35
35
|
|
|
36
36
|
[dependency-groups]
|
|
37
37
|
dev = [
|
|
38
|
-
"pyfakefs>=
|
|
39
|
-
"pytest>=
|
|
38
|
+
"pyfakefs>=6,<7",
|
|
39
|
+
"pytest>=9,<10",
|
|
40
40
|
"pytest-cov>=7,<8",
|
|
41
41
|
"pytest-mock>=3.10,<4",
|
|
42
|
+
"ty==0.0.69",
|
|
42
43
|
]
|
|
43
44
|
|
|
44
45
|
[tool.ruff]
|
|
45
46
|
line-length = 88
|
|
46
|
-
|
|
47
47
|
lint.select = [
|
|
48
48
|
"B", # flake8-bugbear
|
|
49
49
|
"C4", # flake8-comprehensions
|
|
@@ -76,70 +76,46 @@ lint.per-file-ignores."tests/**/*" = [
|
|
|
76
76
|
lint.isort.known-first-party = [ "stsmfa", "tests" ]
|
|
77
77
|
|
|
78
78
|
[tool.pyproject-fmt]
|
|
79
|
-
max_supported_python = "3.
|
|
79
|
+
max_supported_python = "3.15"
|
|
80
|
+
|
|
81
|
+
[tool.ty]
|
|
82
|
+
terminal.error-on-warning = true
|
|
80
83
|
|
|
81
|
-
[tool.pytest
|
|
82
|
-
addopts = "-v -Wdefault --cov=stsmfa --cov-report=term-missing:skip-covered"
|
|
84
|
+
[tool.pytest]
|
|
85
|
+
addopts = [ "-v", "-Wdefault", "--cov=stsmfa", "--cov-report=term-missing:skip-covered" ]
|
|
86
|
+
minversion = "9.0"
|
|
83
87
|
pythonpath = [ "src" ]
|
|
84
88
|
|
|
85
|
-
[tool.coverage
|
|
86
|
-
branch = true
|
|
87
|
-
omit = [
|
|
88
|
-
"src/stsmfa/
|
|
89
|
+
[tool.coverage]
|
|
90
|
+
run.branch = true
|
|
91
|
+
run.omit = [
|
|
92
|
+
"src/stsmfa/__main__.py",
|
|
89
93
|
]
|
|
90
|
-
|
|
91
|
-
[tool.coverage.report]
|
|
92
|
-
exclude_lines = [
|
|
93
|
-
"pragma: no cover",
|
|
94
|
+
report.exclude_lines = [
|
|
94
95
|
"@overload",
|
|
96
|
+
'if __name__ == "__main__":',
|
|
95
97
|
"if TYPE_CHECKING",
|
|
98
|
+
"pragma: no cover",
|
|
96
99
|
"raise NotImplementedError",
|
|
97
|
-
'if __name__ == "__main__":',
|
|
98
100
|
]
|
|
99
101
|
|
|
100
|
-
[tool.mypy]
|
|
101
|
-
check_untyped_defs = true
|
|
102
|
-
disallow_any_generics = true
|
|
103
|
-
disallow_incomplete_defs = true
|
|
104
|
-
disallow_untyped_defs = true
|
|
105
|
-
mypy_path = "src/"
|
|
106
|
-
no_implicit_optional = true
|
|
107
|
-
show_error_codes = true
|
|
108
|
-
warn_unreachable = true
|
|
109
|
-
warn_unused_ignores = true
|
|
110
|
-
exclude = [
|
|
111
|
-
'setup.py',
|
|
112
|
-
]
|
|
113
|
-
|
|
114
|
-
[[tool.mypy.overrides]]
|
|
115
|
-
module = "tests.*"
|
|
116
|
-
allow_untyped_defs = true
|
|
117
|
-
|
|
118
102
|
[tool.semantic_release]
|
|
119
|
-
version_toml = [ "pyproject.toml:project.version" ]
|
|
120
103
|
version_variables = [
|
|
121
104
|
"src/stsmfa/__init__.py:__version__",
|
|
122
105
|
]
|
|
106
|
+
version_toml = [ "pyproject.toml:project.version" ]
|
|
123
107
|
build_command = """
|
|
124
108
|
pip install uv
|
|
125
109
|
uv lock
|
|
126
110
|
git add uv.lock
|
|
127
111
|
uv build
|
|
128
112
|
"""
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
113
|
+
branches.main.match = "main"
|
|
114
|
+
branches.noop.match = "(?!main$)"
|
|
115
|
+
branches.noop.prerelease = true
|
|
116
|
+
changelog.environment.keep_trailing_newline = true
|
|
117
|
+
changelog.exclude_commit_patterns = [
|
|
132
118
|
"chore.*",
|
|
133
119
|
"ci.*",
|
|
134
120
|
"Merge pull request .*",
|
|
135
121
|
]
|
|
136
|
-
|
|
137
|
-
[tool.semantic_release.changelog.environment]
|
|
138
|
-
keep_trailing_newline = true
|
|
139
|
-
|
|
140
|
-
[tool.semantic_release.branches.main]
|
|
141
|
-
match = "main"
|
|
142
|
-
|
|
143
|
-
[tool.semantic_release.branches.noop]
|
|
144
|
-
match = "(?!main$)"
|
|
145
|
-
prerelease = true
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.8.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: stsmfa-cli
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.8.0
|
|
4
4
|
Summary: A small CLI to help with creating AWS profile for MFA protected sessions
|
|
5
5
|
Author-email: Bruno Alla <alla.brunoo@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -17,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.13
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
20
21
|
Classifier: Topic :: Software Development :: Libraries
|
|
21
22
|
Requires-Python: >=3.10
|
|
22
23
|
Description-Content-Type: text/markdown
|
|
@@ -43,8 +44,8 @@ Dynamic: license-file
|
|
|
43
44
|
<a href="https://github.com/astral-sh/ruff">
|
|
44
45
|
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
|
|
45
46
|
</a>
|
|
46
|
-
<a href="https://github.com/
|
|
47
|
-
<img src="https://img.shields.io/
|
|
47
|
+
<a href="https://github.com/j178/prek">
|
|
48
|
+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json" alt="prek">
|
|
48
49
|
</a>
|
|
49
50
|
</p>
|
|
50
51
|
<p align="center">
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.7.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|