stsmfa-cli 1.7.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stsmfa-cli
3
- Version: 1.7.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/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">
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/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,6 +1,6 @@
1
1
  [project]
2
2
  name = "stsmfa-cli"
3
- version = "1.7.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,6 +19,7 @@ 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
  dependencies = [
@@ -38,6 +39,7 @@ dev = [
38
39
  "pytest>=9,<10",
39
40
  "pytest-cov>=7,<8",
40
41
  "pytest-mock>=3.10,<4",
42
+ "ty==0.0.69",
41
43
  ]
42
44
 
43
45
  [tool.ruff]
@@ -74,11 +76,14 @@ lint.per-file-ignores."tests/**/*" = [
74
76
  lint.isort.known-first-party = [ "stsmfa", "tests" ]
75
77
 
76
78
  [tool.pyproject-fmt]
77
- max_supported_python = "3.14"
79
+ max_supported_python = "3.15"
80
+
81
+ [tool.ty]
82
+ terminal.error-on-warning = true
78
83
 
79
84
  [tool.pytest]
80
- minversion = "9.0"
81
85
  addopts = [ "-v", "-Wdefault", "--cov=stsmfa", "--cov-report=term-missing:skip-covered" ]
86
+ minversion = "9.0"
82
87
  pythonpath = [ "src" ]
83
88
 
84
89
  [tool.coverage]
@@ -94,26 +99,11 @@ report.exclude_lines = [
94
99
  "raise NotImplementedError",
95
100
  ]
96
101
 
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
102
  [tool.semantic_release]
113
- version_toml = [ "pyproject.toml:project.version" ]
114
103
  version_variables = [
115
104
  "src/stsmfa/__init__.py:__version__",
116
105
  ]
106
+ version_toml = [ "pyproject.toml:project.version" ]
117
107
  build_command = """
118
108
  pip install uv
119
109
  uv lock
@@ -123,9 +113,9 @@ uv build
123
113
  branches.main.match = "main"
124
114
  branches.noop.match = "(?!main$)"
125
115
  branches.noop.prerelease = true
116
+ changelog.environment.keep_trailing_newline = true
126
117
  changelog.exclude_commit_patterns = [
127
118
  "chore.*",
128
119
  "ci.*",
129
120
  "Merge pull request .*",
130
121
  ]
131
- changelog.environment.keep_trailing_newline = 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.7.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/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">
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,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