Skip to content

Commit 73f54b6

Browse files
committed
chore: release v2.0.1
1 parent 8cb31e8 commit 73f54b6

File tree

7 files changed

+91
-110
lines changed

7 files changed

+91
-110
lines changed

Monei/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212

13-
__version__ = "2.0.0"
13+
__version__ = "2.0.1"
1414

1515
# import ApiClient
1616
from Monei.api_client import ApiClient

Monei/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7676
self.default_headers[header_name] = header_value
7777
self.cookie = cookie
7878
# Set default User-Agent.
79-
self.user_agent = 'OpenAPI-Generator/2.0.0/python'
79+
self.user_agent = 'OpenAPI-Generator/2.0.1/python'
8080

8181
def __enter__(self):
8282
return self

Monei/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ def to_debug_report(self):
418418
"OS: {env}\n"\
419419
"Python Version: {pyversion}\n"\
420420
"Version of the API: 1.5.4\n"\
421-
"SDK Package Version: 2.0.0".\
421+
"SDK Package Version: 2.0.1".\
422422
format(env=sys.platform, pyversion=sys.version)
423423

424424
def get_host_settings(self):

Monei/monei_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from Monei.api.bizum_api import BizumApi
1414

1515

16-
SDK_VERSION = "2.0.0"
16+
SDK_VERSION = "2.0.1"
1717
DEFAULT_USER_AGENT = f"MONEI/Python/{SDK_VERSION}"
1818

1919

config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"packageName": "Monei",
3-
"packageVersion": "2.0.0",
3+
"packageVersion": "2.0.1",
44
"gitHost": "github.com",
55
"gitUserId": "monei",
66
"gitRepoId": "monei-python-sdk",
7-
"version": "2.0.0",
7+
"version": "2.0.1",
88
"generatorName": "python",
99
"outputDir": "./",
1010
"removeOperationIdPrefix": true

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.0.0",
3+
"version": "2.0.1",
44
"description": "MONEI PYTHON SDK",
55
"author": "monei",
66
"scripts": {

pyproject.toml

Lines changed: 84 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
version = "2.0.1"
2+
13
[build-system]
2-
requires = ["hatchling>=1.0.0"]
4+
requires = [ "hatchling>=1.0.0" ]
35
build-backend = "hatchling.build"
46

57
[project]
@@ -8,131 +10,110 @@ version = "2.0.0"
810
description = "MONEI PYTHON SDK"
911
readme = "README.md"
1012
requires-python = ">=3.8"
11-
license = { text = "MIT" }
12-
authors = [{ name = "MONEI", email = "[email protected]" }]
1313
dependencies = [
14-
"urllib3 >= 1.25.3, < 3.0.0",
15-
"python-dateutil >= 2.8.2",
16-
"pydantic >= 2",
17-
"typing-extensions >= 4.7.1",
18-
"certifi",
14+
"urllib3 >= 1.25.3, < 3.0.0",
15+
"python-dateutil >= 2.8.2",
16+
"pydantic >= 2",
17+
"typing-extensions >= 4.7.1",
18+
"certifi"
1919
]
2020
keywords = [
21-
"monei",
22-
"monei pay",
23-
"pay",
24-
"payments",
25-
"payment gateway",
26-
"python",
27-
"sdk",
28-
"rest",
29-
"api",
21+
"monei",
22+
"monei pay",
23+
"pay",
24+
"payments",
25+
"payment gateway",
26+
"python",
27+
"sdk",
28+
"rest",
29+
"api"
3030
]
3131
classifiers = [
32-
"Development Status :: 5 - Production/Stable",
33-
"Intended Audience :: Developers",
34-
"License :: OSI Approved :: MIT License",
35-
"Operating System :: OS Independent",
36-
"Topic :: Software Development :: Libraries :: Python Modules",
37-
"Programming Language :: Python :: 3.8",
38-
"Programming Language :: Python :: 3.9",
39-
"Programming Language :: Python :: 3.10",
40-
"Programming Language :: Python :: 3.11",
41-
"Programming Language :: Python :: 3.12",
32+
"Development Status :: 5 - Production/Stable",
33+
"Intended Audience :: Developers",
34+
"License :: OSI Approved :: MIT License",
35+
"Operating System :: OS Independent",
36+
"Topic :: Software Development :: Libraries :: Python Modules",
37+
"Programming Language :: Python :: 3.8",
38+
"Programming Language :: Python :: 3.9",
39+
"Programming Language :: Python :: 3.10",
40+
"Programming Language :: Python :: 3.11",
41+
"Programming Language :: Python :: 3.12"
4242
]
4343

44-
[project.urls]
45-
Repository = "https://github.com/monei/monei-python-sdk"
44+
[project.license]
45+
text = "MIT"
46+
47+
[[project.authors]]
48+
name = "MONEI"
49+
50+
51+
[project.urls]
52+
Repository = "https://github.com/monei/monei-python-sdk"
4653

47-
[project.optional-dependencies]
48-
dev = [
49-
"pytest >= 7.2.1",
50-
"pytest-cov >= 2.8.1",
51-
"types-python-dateutil >= 2.8.19.14",
52-
"mypy >= 1.5",
54+
[project.optional-dependencies]
55+
dev = [
56+
"pytest >= 7.2.1",
57+
"pytest-cov >= 2.8.1",
58+
"types-python-dateutil >= 2.8.19.14",
59+
"mypy >= 1.5"
5360
]
5461

55-
[tool.hatch.build.targets.wheel]
56-
packages = ["Monei"]
62+
[tool]
63+
uv = { }
5764

58-
[tool.hatch.build.targets.wheel.force-include]
59-
"Monei/py.typed" = "Monei/py.typed"
65+
[tool.hatch.build.targets.wheel]
66+
packages = [ "Monei" ]
6067

61-
# UV-specific configuration (optional)
62-
[tool.uv]
63-
# Add any UV-specific configurations here if needed
68+
[tool.hatch.build.targets.wheel.force-include]
69+
"Monei/py.typed" = "Monei/py.typed"
6470

6571
[tool.pytest.ini_options]
66-
testpaths = ["test"]
72+
testpaths = [ "test" ]
6773
python_files = "test_*.py"
6874
python_classes = "Test*"
6975
python_functions = "test_*"
7076
addopts = "--cov=Monei --cov-report=term --cov-report=xml:coverage.xml"
7177
markers = [
72-
"unit: Unit tests",
73-
"integration: Integration tests",
74-
"api: API tests",
75-
"slow: Slow running tests",
76-
"e2e: End-to-end tests",
77-
"generated: Tests auto-generated by OpenAPI Generator",
78-
"requires_api: Tests that require real API access",
78+
"unit: Unit tests",
79+
"integration: Integration tests",
80+
"api: API tests",
81+
"slow: Slow running tests",
82+
"e2e: End-to-end tests",
83+
"generated: Tests auto-generated by OpenAPI Generator",
84+
"requires_api: Tests that require real API access"
7985
]
8086
filterwarnings = [
81-
"ignore::DeprecationWarning:Monei.*:",
82-
"ignore::DeprecationWarning:urllib3.*:",
87+
"ignore::DeprecationWarning:Monei.*:",
88+
"ignore::DeprecationWarning:urllib3.*:"
8389
]
8490

85-
[tool.pylint.'MESSAGES CONTROL']
91+
[tool.pylint."MESSAGES CONTROL"]
8692
extension-pkg-whitelist = "pydantic"
8793

88-
[tool.mypy]
89-
files = [
90-
"Monei",
91-
"test", # auto-generated tests
92-
]
93-
# TODO: enable "strict" once all these individual checks are passing
94-
# strict = true
95-
96-
# List from: https://mypy.readthedocs.io/en/stable/existing_code.html#introduce-stricter-options
97-
warn_unused_configs = true
98-
warn_redundant_casts = true
99-
warn_unused_ignores = true
100-
101-
## Getting these passing should be easy
102-
strict_equality = true
103-
extra_checks = true
104-
105-
## Strongly recommend enabling this one as soon as you can
106-
check_untyped_defs = true
107-
108-
## These shouldn't be too much additional work, but may be tricky to
109-
## get passing if you use a lot of untyped libraries
110-
disallow_subclassing_any = true
111-
disallow_untyped_decorators = true
112-
disallow_any_generics = true
113-
114-
### These next few are various gradations of forcing use of type annotations
115-
#disallow_untyped_calls = true
116-
#disallow_incomplete_defs = true
117-
#disallow_untyped_defs = true
118-
#
119-
### This one isn't too hard to get passing, but return on investment is lower
120-
#no_implicit_reexport = true
121-
#
122-
### This one can be tricky to get passing if you use a lot of untyped libraries
123-
#warn_return_any = true
94+
[tool.mypy]
95+
files = [ "Monei", "test" ]
96+
warn_unused_configs = true
97+
warn_redundant_casts = true
98+
warn_unused_ignores = true
99+
strict_equality = true
100+
extra_checks = true
101+
check_untyped_defs = true
102+
disallow_subclassing_any = true
103+
disallow_untyped_decorators = true
104+
disallow_any_generics = true
124105

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
106+
[[tool.mypy.overrides]]
107+
module = [ "Monei.configuration" ]
108+
warn_unused_ignores = true
109+
strict_equality = true
110+
extra_checks = true
111+
check_untyped_defs = true
112+
disallow_subclassing_any = true
113+
disallow_untyped_decorators = true
114+
disallow_any_generics = true
115+
disallow_untyped_calls = true
116+
disallow_incomplete_defs = true
117+
disallow_untyped_defs = true
118+
no_implicit_reexport = true
119+
warn_return_any = true

0 commit comments

Comments
 (0)