stsmfa-cli 1.7.1__tar.gz → 2.0.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stsmfa-cli
3
- Version: 1.7.1
3
+ Version: 2.0.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
@@ -12,13 +12,13 @@ Classifier: Intended Audience :: Developers
12
12
  Classifier: Natural Language :: English
13
13
  Classifier: Operating System :: OS Independent
14
14
  Classifier: Programming Language :: Python :: 3 :: Only
15
- Classifier: Programming Language :: Python :: 3.10
16
15
  Classifier: Programming Language :: Python :: 3.11
17
16
  Classifier: Programming Language :: Python :: 3.12
18
17
  Classifier: Programming Language :: Python :: 3.13
19
18
  Classifier: Programming Language :: Python :: 3.14
19
+ Classifier: Programming Language :: Python :: 3.15
20
20
  Classifier: Topic :: Software Development :: Libraries
21
- Requires-Python: >=3.10
21
+ Requires-Python: >=3.11
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  Requires-Dist: boto3<2,>=1.26
@@ -43,8 +43,8 @@ Dynamic: license-file
43
43
  <a href="https://github.com/astral-sh/ruff">
44
44
  <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
45
45
  </a>
46
- <a href="https://github.com/pre-commit/pre-commit">
47
- <img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit">
46
+ <a href="https://github.com/j178/prek">
47
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json" alt="prek">
48
48
  </a>
49
49
  </p>
50
50
  <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/pre-commit/pre-commit">
19
- <img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit">
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,24 +1,24 @@
1
1
  [project]
2
2
  name = "stsmfa-cli"
3
- version = "1.7.1"
3
+ version = "2.0.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" }
7
7
  authors = [
8
8
  { name = "Bruno Alla", email = "alla.brunoo@gmail.com" },
9
9
  ]
10
- requires-python = ">=3.10"
10
+ requires-python = ">=3.11"
11
11
  classifiers = [
12
12
  "Development Status :: 2 - Pre-Alpha",
13
13
  "Intended Audience :: Developers",
14
14
  "Natural Language :: English",
15
15
  "Operating System :: OS Independent",
16
16
  "Programming Language :: Python :: 3 :: Only",
17
- "Programming Language :: Python :: 3.10",
18
17
  "Programming Language :: Python :: 3.11",
19
18
  "Programming Language :: Python :: 3.12",
20
19
  "Programming Language :: Python :: 3.13",
21
20
  "Programming Language :: Python :: 3.14",
21
+ "Programming Language :: Python :: 3.15",
22
22
  "Topic :: Software Development :: Libraries",
23
23
  ]
24
24
  dependencies = [
@@ -38,6 +38,7 @@ dev = [
38
38
  "pytest>=9,<10",
39
39
  "pytest-cov>=7,<8",
40
40
  "pytest-mock>=3.10,<4",
41
+ "ty==0.0.99",
41
42
  ]
42
43
 
43
44
  [tool.ruff]
@@ -74,18 +75,21 @@ lint.per-file-ignores."tests/**/*" = [
74
75
  lint.isort.known-first-party = [ "stsmfa", "tests" ]
75
76
 
76
77
  [tool.pyproject-fmt]
77
- max_supported_python = "3.14"
78
+ max_supported_python = "3.15"
79
+
80
+ [tool.ty]
81
+ terminal.error-on-warning = true
78
82
 
79
83
  [tool.pytest]
80
- minversion = "9.0"
81
84
  addopts = [ "-v", "-Wdefault", "--cov=stsmfa", "--cov-report=term-missing:skip-covered" ]
85
+ minversion = "9.0"
82
86
  pythonpath = [ "src" ]
83
87
 
84
88
  [tool.coverage]
85
- run.branch = true
86
89
  run.omit = [
87
90
  "src/stsmfa/__main__.py",
88
91
  ]
92
+ run.branch = true
89
93
  report.exclude_lines = [
90
94
  "@overload",
91
95
  'if __name__ == "__main__":',
@@ -94,26 +98,11 @@ report.exclude_lines = [
94
98
  "raise NotImplementedError",
95
99
  ]
96
100
 
97
- [tool.mypy]
98
- check_untyped_defs = true
99
- disallow_any_generics = true
100
- disallow_incomplete_defs = true
101
- disallow_untyped_defs = true
102
- mypy_path = "src/"
103
- no_implicit_optional = true
104
- show_error_codes = true
105
- warn_unreachable = true
106
- warn_unused_ignores = true
107
- exclude = [
108
- "setup.py",
109
- ]
110
- overrides = [ { module = "tests.*", allow_untyped_defs = true } ]
111
-
112
101
  [tool.semantic_release]
113
- version_toml = [ "pyproject.toml:project.version" ]
114
102
  version_variables = [
115
103
  "src/stsmfa/__init__.py:__version__",
116
104
  ]
105
+ version_toml = [ "pyproject.toml:project.version" ]
117
106
  build_command = """
118
107
  pip install uv
119
108
  uv lock
@@ -123,9 +112,9 @@ uv build
123
112
  branches.main.match = "main"
124
113
  branches.noop.match = "(?!main$)"
125
114
  branches.noop.prerelease = true
115
+ changelog.environment.keep_trailing_newline = true
126
116
  changelog.exclude_commit_patterns = [
127
117
  "chore.*",
128
118
  "ci.*",
129
119
  "Merge pull request .*",
130
120
  ]
131
- changelog.environment.keep_trailing_newline = true
@@ -0,0 +1 @@
1
+ __version__ = "2.0.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stsmfa-cli
3
- Version: 1.7.1
3
+ Version: 2.0.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
@@ -12,13 +12,13 @@ Classifier: Intended Audience :: Developers
12
12
  Classifier: Natural Language :: English
13
13
  Classifier: Operating System :: OS Independent
14
14
  Classifier: Programming Language :: Python :: 3 :: Only
15
- Classifier: Programming Language :: Python :: 3.10
16
15
  Classifier: Programming Language :: Python :: 3.11
17
16
  Classifier: Programming Language :: Python :: 3.12
18
17
  Classifier: Programming Language :: Python :: 3.13
19
18
  Classifier: Programming Language :: Python :: 3.14
19
+ Classifier: Programming Language :: Python :: 3.15
20
20
  Classifier: Topic :: Software Development :: Libraries
21
- Requires-Python: >=3.10
21
+ Requires-Python: >=3.11
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  Requires-Dist: boto3<2,>=1.26
@@ -43,8 +43,8 @@ Dynamic: license-file
43
43
  <a href="https://github.com/astral-sh/ruff">
44
44
  <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
45
45
  </a>
46
- <a href="https://github.com/pre-commit/pre-commit">
47
- <img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" alt="pre-commit">
46
+ <a href="https://github.com/j178/prek">
47
+ <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json" alt="prek">
48
48
  </a>
49
49
  </p>
50
50
  <p align="center">
@@ -1,7 +1,7 @@
1
1
  from pathlib import Path
2
2
 
3
3
  import pytest
4
- from click.exceptions import Exit
4
+ from typer import Exit
5
5
 
6
6
  from stsmfa.cli import run
7
7
 
@@ -1 +0,0 @@
1
- __version__ = "1.7.1"
File without changes
File without changes
File without changes