stsmfa-cli 1.3.3__tar.gz → 1.3.5__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.1
2
2
  Name: stsmfa-cli
3
- Version: 1.3.3
3
+ Version: 1.3.5
4
4
  Summary: A small CLI to help with creating AWS profile for MFA protected sessions
5
5
  Home-page: https://github.com/browniebroke/stsmfa-cli
6
6
  License: MIT
@@ -1,21 +1,25 @@
1
+ [build-system]
2
+ build-backend = "poetry.core.masonry.api"
3
+ requires = [ "poetry-core>=1" ]
4
+
1
5
  [tool.poetry]
2
6
  name = "stsmfa-cli"
3
- version = "1.3.3"
7
+ version = "1.3.5"
4
8
  description = "A small CLI to help with creating AWS profile for MFA protected sessions"
5
- authors = ["Bruno Alla <alla.brunoo@gmail.com>"]
9
+ authors = [ "Bruno Alla <alla.brunoo@gmail.com>" ]
6
10
  license = "MIT"
7
11
  readme = "README.md"
8
12
  repository = "https://github.com/browniebroke/stsmfa-cli"
9
13
  classifiers = [
10
- "Development Status :: 2 - Pre-Alpha",
11
- "Intended Audience :: Developers",
12
- "Natural Language :: English",
13
- "Operating System :: OS Independent",
14
- "Topic :: Software Development :: Libraries",
15
- "Programming Language :: Python :: 3.12",
14
+ "Development Status :: 2 - Pre-Alpha",
15
+ "Intended Audience :: Developers",
16
+ "Natural Language :: English",
17
+ "Operating System :: OS Independent",
18
+ "Topic :: Software Development :: Libraries",
19
+ "Programming Language :: Python :: 3.12",
16
20
  ]
17
21
  packages = [
18
- { include = "stsmfa", from = "src" },
22
+ { include = "stsmfa", from = "src" },
19
23
  ]
20
24
 
21
25
  [tool.poetry.urls]
@@ -38,88 +42,60 @@ pytest-cov = "^5.0.0"
38
42
  pyfakefs = "^5.0.0"
39
43
  pytest-mock = "^3.10.0"
40
44
 
41
- [tool.semantic_release]
42
- version_toml = ["pyproject.toml:tool.poetry.version"]
43
- version_variables = [
44
- "src/stsmfa/__init__.py:__version__",
45
- ]
46
- build_command = "pip install poetry && poetry build"
45
+ [tool.ruff]
46
+ target-version = "py38"
47
+ line-length = 88
47
48
 
48
- [tool.semantic_release.changelog]
49
- exclude_commit_patterns = [
50
- "chore*",
51
- "ci*",
49
+ lint.select = [
50
+ "B", # flake8-bugbear
51
+ "C4", # flake8-comprehensions
52
+ "D", # flake8-docstrings
53
+ "E", # pycodestyle
54
+ "F", # pyflake
55
+ "I", # isort
56
+ "RUF", # ruff specific
57
+ "S", # flake8-bandit
58
+ "UP", # pyupgrade
59
+ "W", # pycodestyle
52
60
  ]
53
-
54
- [tool.semantic_release.changelog.environment]
55
- keep_trailing_newline = true
56
-
57
- [tool.semantic_release.branches.main]
58
- match = "main"
59
-
60
- [tool.semantic_release.branches.noop]
61
- match = "(?!main$)"
62
- prerelease = true
61
+ lint.ignore = [
62
+ "D100", # Missing docstring in public module
63
+ "D104", # Missing docstring in public package
64
+ "D107", # Missing docstring in `__init__`
65
+ "D203", # 1 blank line required before class docstring
66
+ "D212", # Multi-line docstring summary should start at the first line
67
+ "D401", # First line of docstring should be in imperative mood
68
+ ]
69
+ lint.per-file-ignores."setup.py" = [ "D100" ]
70
+ lint.per-file-ignores."tests/**/*" = [
71
+ "D100",
72
+ "D101",
73
+ "D102",
74
+ "D103",
75
+ "D104",
76
+ "S101",
77
+ ]
78
+ lint.isort.known-first-party = [ "stsmfa", "tests" ]
63
79
 
64
80
  [tool.pytest.ini_options]
65
81
  addopts = "-v -Wdefault --cov=stsmfa --cov-report=term-missing:skip-covered"
66
- pythonpath = ["src"]
82
+ pythonpath = [ "src" ]
67
83
 
68
84
  [tool.coverage.run]
69
85
  branch = true
70
86
  omit = [
71
- "src/stsmfa/__maIn__.py",
87
+ "src/stsmfa/__maIn__.py",
72
88
  ]
73
89
 
74
90
  [tool.coverage.report]
75
91
  exclude_lines = [
76
- "pragma: no cover",
77
- "@overload",
78
- "if TYPE_CHECKING",
79
- "raise NotImplementedError",
80
- 'if __name__ == "__main__":',
81
- ]
82
-
83
- [tool.ruff]
84
- target-version = "py38"
85
- line-length = 88
86
-
87
- [tool.ruff.lint]
88
- ignore = [
89
- "D203", # 1 blank line required before class docstring
90
- "D212", # Multi-line docstring summary should start at the first line
91
- "D100", # Missing docstring in public module
92
- "D104", # Missing docstring in public package
93
- "D107", # Missing docstring in `__init__`
94
- "D401", # First line of docstring should be in imperative mood
95
- ]
96
- select = [
97
- "B", # flake8-bugbear
98
- "D", # flake8-docstrings
99
- "C4", # flake8-comprehensions
100
- "S", # flake8-bandit
101
- "F", # pyflake
102
- "E", # pycodestyle
103
- "W", # pycodestyle
104
- "UP", # pyupgrade
105
- "I", # isort
106
- "RUF", # ruff specific
92
+ "pragma: no cover",
93
+ "@overload",
94
+ "if TYPE_CHECKING",
95
+ "raise NotImplementedError",
96
+ 'if __name__ == "__main__":',
107
97
  ]
108
98
 
109
- [tool.ruff.lint.per-file-ignores]
110
- "tests/**/*" = [
111
- "D100",
112
- "D101",
113
- "D102",
114
- "D103",
115
- "D104",
116
- "S101",
117
- ]
118
- "setup.py" = ["D100"]
119
-
120
- [tool.ruff.lint.isort]
121
- known-first-party = ["stsmfa", "tests"]
122
-
123
99
  [tool.mypy]
124
100
  check_untyped_defs = true
125
101
  disallow_any_generics = true
@@ -131,13 +107,33 @@ show_error_codes = true
131
107
  warn_unreachable = true
132
108
  warn_unused_ignores = true
133
109
  exclude = [
134
- 'setup.py',
110
+ 'setup.py',
135
111
  ]
136
112
 
137
113
  [[tool.mypy.overrides]]
138
114
  module = "tests.*"
139
115
  allow_untyped_defs = true
140
116
 
141
- [build-system]
142
- requires = ["poetry-core>=1.0.0"]
143
- build-backend = "poetry.core.masonry.api"
117
+ [tool.semantic_release]
118
+ version_toml = [ "pyproject.toml:tool.poetry.version" ]
119
+ version_variables = [
120
+ "src/stsmfa/__init__.py:__version__",
121
+ ]
122
+ build_command = "pip install poetry && poetry build"
123
+
124
+ [tool.semantic_release.changelog]
125
+ exclude_commit_patterns = [
126
+ "chore.*",
127
+ "ci.*",
128
+ "Merge pull request .*",
129
+ ]
130
+
131
+ [tool.semantic_release.changelog.environment]
132
+ keep_trailing_newline = true
133
+
134
+ [tool.semantic_release.branches.main]
135
+ match = "main"
136
+
137
+ [tool.semantic_release.branches.noop]
138
+ match = "(?!main$)"
139
+ prerelease = true
@@ -0,0 +1 @@
1
+ __version__ = "1.3.5"
@@ -1 +0,0 @@
1
- __version__ = "1.3.3"
File without changes
File without changes
File without changes