Skip to content

Commit 65c4f81

Browse files
committed
chore: release v2.3.1
1 parent f1214e5 commit 65c4f81

File tree

5 files changed

+71
-65
lines changed

5 files changed

+71
-65
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## <small>2.3.1 (2025-03-14)</small>
4+
5+
* chore: update SDK to OpenAPI specification version 1.6.0 ([f1214e5](https://github.com/MONEI/monei-python-sdk/commit/f1214e5))
6+
* fix: resolve Black formatter installation issue ([3be582e](https://github.com/MONEI/monei-python-sdk/commit/3be582e))
7+
* test: Add comprehensive model serialization and REST client tests ([7e324a0](https://github.com/MONEI/monei-python-sdk/commit/7e324a0))
8+
39
## 2.3.0 (2025-03-11)
410

511
* feat: Add retry configuration method to MoneiClient ([0440265](https://github.com/MONEI/monei-python-sdk/commit/0440265))

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"generatorName": "python",
55
"outputDir": "./",
66
"removeOperationIdPrefix": true,
7-
"version": "2.3.0"
7+
"version": "2.3.1"
88
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "monei-python-sdk",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "MONEI PYTHON SDK",
55
"author": "monei",
66
"type": "module",

pyproject.toml

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[build-system]
2-
requires = ["hatchling>=1.0.0"]
2+
requires = [ "hatchling>=1.0.0" ]
33
build-backend = "hatchling.build"
44

55
[project]
66
name = "Monei"
7-
version = "2.3.0"
7+
version = "2.3.1"
88
description = "MONEI PYTHON SDK"
99
readme = "README.md"
1010
requires-python = ">=3.8"
@@ -13,7 +13,7 @@ dependencies = [
1313
"python-dateutil >= 2.8.2",
1414
"pydantic >= 2",
1515
"typing-extensions >= 4.7.1",
16-
"certifi",
16+
"certifi"
1717
]
1818
keywords = [
1919
"monei",
@@ -24,7 +24,7 @@ keywords = [
2424
"python",
2525
"sdk",
2626
"rest",
27-
"api",
27+
"api"
2828
]
2929
classifiers = [
3030
"Development Status :: 5 - Production/Stable",
@@ -36,42 +36,42 @@ classifiers = [
3636
"Programming Language :: Python :: 3.9",
3737
"Programming Language :: Python :: 3.10",
3838
"Programming Language :: Python :: 3.11",
39-
"Programming Language :: Python :: 3.12",
39+
"Programming Language :: Python :: 3.12"
4040
]
4141

42-
[project.license]
43-
text = "MIT"
42+
[project.license]
43+
text = "MIT"
4444

45-
[[project.authors]]
46-
name = "MONEI"
47-
45+
[[project.authors]]
46+
name = "MONEI"
47+
4848

49-
[project.urls]
50-
Repository = "https://github.com/monei/monei-python-sdk"
49+
[project.urls]
50+
Repository = "https://github.com/monei/monei-python-sdk"
5151

5252
[dependency-groups]
5353
dev = [
5454
"pytest >= 7.2.1",
5555
"pytest-cov >= 2.8.1",
5656
"types-python-dateutil >= 2.8.19.14",
5757
"mypy >= 1.5",
58-
"black >= 24.1.0",
58+
"black >= 24.1.0"
5959
]
6060

6161
[tool]
62-
uv = {}
62+
uv = { }
6363

6464
[tool.hatch.build.targets.wheel]
65-
packages = ["Monei"]
65+
packages = [ "Monei" ]
6666

67-
[tool.hatch.build.targets.wheel.force-include]
68-
"Monei/py.typed" = "Monei/py.typed"
67+
[tool.hatch.build.targets.wheel.force-include]
68+
"Monei/py.typed" = "Monei/py.typed"
6969

7070
[tool.pytest.ini_options]
71-
testpaths = ["test"]
72-
python_files = ["test_*.py"]
73-
python_classes = ["Test*"]
74-
python_functions = ["test_*"]
71+
testpaths = [ "test" ]
72+
python_files = [ "test_*.py" ]
73+
python_classes = [ "Test*" ]
74+
python_functions = [ "test_*" ]
7575
addopts = [
7676
"--cov=Monei",
7777
"--cov-report=term",
@@ -90,7 +90,7 @@ addopts = [
9090
"--ignore=test/test_model_utils.py",
9191
"--ignore=test/test_payment_example.py",
9292
"--ignore=test/test_rest_example.py",
93-
"--ignore=test/test_payments_api_example.py",
93+
"--ignore=test/test_payments_api_example.py"
9494
]
9595
markers = [
9696
"unit: Unit tests",
@@ -99,60 +99,60 @@ markers = [
9999
"slow: Slow running tests",
100100
"e2e: End-to-end tests",
101101
"generated: Tests auto-generated by OpenAPI Generator",
102-
"requires_api: Tests that require real API access",
102+
"requires_api: Tests that require real API access"
103103
]
104104
filterwarnings = [
105105
"ignore::DeprecationWarning:Monei.*:",
106-
"ignore::DeprecationWarning:urllib3.*:",
106+
"ignore::DeprecationWarning:urllib3.*:"
107107
]
108-
norecursedirs = [".git", ".venv", "node_modules"]
108+
norecursedirs = [ ".git", ".venv", "node_modules" ]
109109

110110
[tool.pylint."MESSAGES CONTROL"]
111111
extension-pkg-whitelist = "pydantic"
112112

113-
[tool.mypy]
114-
files = ["Monei", "test"]
115-
warn_unused_configs = true
116-
warn_redundant_casts = true
117-
warn_unused_ignores = true
118-
strict_equality = true
119-
extra_checks = true
120-
check_untyped_defs = true
121-
disallow_subclassing_any = true
122-
disallow_untyped_decorators = true
123-
disallow_any_generics = true
113+
[tool.mypy]
114+
files = [ "Monei", "test" ]
115+
warn_unused_configs = true
116+
warn_redundant_casts = true
117+
warn_unused_ignores = true
118+
strict_equality = true
119+
extra_checks = true
120+
check_untyped_defs = true
121+
disallow_subclassing_any = true
122+
disallow_untyped_decorators = true
123+
disallow_any_generics = true
124124

125-
[[tool.mypy.overrides]]
126-
module = ["Monei.configuration"]
127-
warn_unused_ignores = true
128-
strict_equality = true
129-
extra_checks = true
130-
check_untyped_defs = true
131-
disallow_subclassing_any = true
132-
disallow_untyped_decorators = true
133-
disallow_any_generics = true
134-
disallow_untyped_calls = true
135-
disallow_incomplete_defs = true
136-
disallow_untyped_defs = true
137-
no_implicit_reexport = true
138-
warn_return_any = true
125+
[[tool.mypy.overrides]]
126+
module = [ "Monei.configuration" ]
127+
warn_unused_ignores = true
128+
strict_equality = true
129+
extra_checks = true
130+
check_untyped_defs = true
131+
disallow_subclassing_any = true
132+
disallow_untyped_decorators = true
133+
disallow_any_generics = true
134+
disallow_untyped_calls = true
135+
disallow_incomplete_defs = true
136+
disallow_untyped_defs = true
137+
no_implicit_reexport = true
138+
warn_return_any = true
139139

140-
[tool.black]
141-
line-length = 88
142-
target-version = ["py38", "py39", "py310", "py311", "py312"]
143-
include = '\.pyi?$'
144-
exclude = '''
140+
[tool.black]
141+
line-length = 88
142+
target-version = [ "py38", "py39", "py310", "py311", "py312" ]
143+
include = "\\.pyi?$"
144+
exclude = """
145145
/(
146-
\.eggs
147-
| \.git
148-
| \.hg
149-
| \.mypy_cache
150-
| \.tox
151-
| \.venv
146+
\\.eggs
147+
| \\.git
148+
| \\.hg
149+
| \\.mypy_cache
150+
| \\.tox
151+
| \\.venv
152152
| _build
153153
| buck-out
154154
| build
155155
| dist
156156
| node_modules
157157
)/
158-
'''
158+
"""

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)