1+ version = " 2.0.1"
2+
13[build-system ]
2- requires = [" hatchling>=1.0.0" ]
4+ requires = [ " hatchling>=1.0.0" ]
35build-backend = " hatchling.build"
46
57[project ]
@@ -8,131 +10,110 @@ version = "2.0.0"
810description = " MONEI PYTHON SDK"
911readme = " README.md"
1012requires-python = " >=3.8"
11- license = { text = " MIT" }
12- authors = [{
name =
" MONEI" ,
email =
" [email protected] " }]
1313dependencies = [
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]
2020keywords = [
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]
3131classifiers = [
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" ]
6773python_files = " test_*.py"
6874python_classes = " Test*"
6975python_functions = " test_*"
7076addopts = " --cov=Monei --cov-report=term --cov-report=xml:coverage.xml"
7177markers = [
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]
8086filterwarnings = [
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" ]
8692extension-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