@@ -5,51 +5,51 @@ description = "SoftwareOne Marketplace API Client for Python"
55authors = [{ name = " SoftwareOne AG" }]
66requires-python = " >=3.12,<4"
77readme = " docs/PROJECT_DESCRIPTION.md"
8- license = {text = " Apache-2.0 license" }
8+ license = { text = " Apache-2.0 license" }
99keywords = [
10- " openapi" ,
11- " client" ,
12- " softwareone" ,
13- " marketplace" ,
10+ " openapi" ,
11+ " client" ,
12+ " softwareone" ,
13+ " marketplace" ,
1414]
1515classifiers = [
16- " Development Status :: 5 - Production/Stable" ,
17- " Environment :: Console" ,
18- " Operating System :: POSIX :: Linux" ,
19- " Programming Language :: Python :: 3.12" ,
20- " Topic :: Utilities" ,
16+ " Development Status :: 5 - Production/Stable" ,
17+ " Environment :: Console" ,
18+ " Operating System :: POSIX :: Linux" ,
19+ " Programming Language :: Python :: 3.12" ,
20+ " Topic :: Utilities" ,
2121]
2222dependencies = [
23- " httpx==0.28.*" ,
23+ " httpx==0.28.*" ,
2424]
2525
2626[dependency-groups ]
2727dev = [
28- " dependency-injector==4.48.*" ,
29- " flake8==7.3.*" , # force flake8 version to have same formatting everywhere, also update in pre-commit config
30- " flake8-aaa==0.17.*" , # also update pre-commit config
31- " flake8-pyproject==1.2.*" , # also update pre-commit config
32- " freezegun==1.5.*" ,
33- " ipdb==0.13.*" ,
34- " ipython==9.*" ,
35- " mypy==1.19.*" ,
36- " pre-commit==4.5.*" ,
37- " pyfakefs==6.1.*" ,
38- " pytest==9.0.*" ,
39- " pytest-asyncio==1.3.*" ,
40- " pytest-cov==7.0.*" ,
41- " pytest-deadfixtures==3.1.*" ,
42- " pytest-mock==3.15.*" ,
43- " pytest-randomly==4.0.*" ,
44- " pytest-reportportal==5.6.*" ,
45- " pytest-rerunfailures==16.1.*" ,
46- " pytest-xdist==3.8.*" ,
47- " responses==0.26.*" ,
48- " respx==0.22.*" ,
49- " ruff==0.15.*" , # force ruff version to have same formatting everywhere
50- " typing-extensions==4.15.*" ,
51- " wemake-python-styleguide==1.6.*" ,
52- " types-python-dateutil==2.9.*" ,
28+ " dependency-injector==4.48.*" ,
29+ " flake8==7.3.*" , # force flake8 version to have same formatting everywhere, also update in pre-commit config
30+ " flake8-aaa==0.17.*" , # also update pre-commit config
31+ " flake8-pyproject==1.2.*" , # also update pre-commit config
32+ " freezegun==1.5.*" ,
33+ " ipdb==0.13.*" ,
34+ " ipython==9.*" ,
35+ " mypy==1.19.*" ,
36+ " pre-commit==4.5.*" ,
37+ " pyfakefs==6.1.*" ,
38+ " pytest==9.0.*" ,
39+ " pytest-asyncio==1.3.*" ,
40+ " pytest-cov==7.0.*" ,
41+ " pytest-deadfixtures==3.1.*" ,
42+ " pytest-mock==3.15.*" ,
43+ " pytest-randomly==4.0.*" ,
44+ " pytest-reportportal==5.6.*" ,
45+ " pytest-rerunfailures==16.1.*" ,
46+ " pytest-xdist==3.8.*" ,
47+ " responses==0.26.*" ,
48+ " respx==0.22.*" ,
49+ " ruff==0.15.*" , # force ruff version to have same formatting everywhere
50+ " typing-extensions==4.15.*" ,
51+ " wemake-python-styleguide==1.6.*" ,
52+ " types-python-dateutil==2.9.*" ,
5353]
5454
5555[tool .hatch .build .targets .sdist ]
@@ -70,8 +70,8 @@ log_cli = false
7070asyncio_mode = " auto"
7171asyncio_default_fixture_loop_scope = " function"
7272filterwarnings = [
73- " ignore:Support for class-based `config` is deprecated:DeprecationWarning" ,
74- " ignore:pkg_resources is deprecated as an API:DeprecationWarning" ,
73+ " ignore:Support for class-based `config` is deprecated:DeprecationWarning" ,
74+ " ignore:pkg_resources is deprecated as an API:DeprecationWarning" ,
7575]
7676rp_project = " mpt-api-python-client"
7777markers = [
@@ -85,11 +85,11 @@ source = ["mpt_api_client"]
8585
8686[tool .coverage .report ]
8787exclude_also = [
88- " if __name__ == \" __main__\" :" ,
89- " raise NotImplementedError" ,
88+ " if __name__ == \" __main__\" :" ,
89+ " raise NotImplementedError" ,
9090]
9191omit = [
92- " */__init__.py"
92+ " */__init__.py"
9393]
9494
9595[tool .flake8 ]
@@ -122,6 +122,7 @@ per-file-ignores = [
122122 " mpt_api_client/resources/catalog/*.py: WPS110 WPS214 WPS215 WPS235" ,
123123 " mpt_api_client/resources/catalog/products.py: WPS204 WPS214 WPS215 WPS235" ,
124124 " mpt_api_client/resources/commerce/*.py: WPS235 WPS215" ,
125+ " mpt_api_client/resources/helpdesk/*.py: WPS204 WPS215" ,
125126 " mpt_api_client/rql/query_builder.py: WPS110 WPS115 WPS210 WPS214" ,
126127 " tests/e2e/accounts/*.py: WPS430 WPS202" ,
127128 " tests/e2e/billing/*.py: WPS202 WPS421 WPS118" ,
@@ -157,48 +158,48 @@ docstring-code-format = false
157158
158159[tool .ruff .lint ]
159160select = [
160- " A" , # flake8-builtins
161- " B" , # flake8-bugbear
162- " C4" , # flake8-comprehensions
163- " C90" , # maccabe
164- " COM" , # flake8-commas
165- " D" , # pydocstyle
166- " DTZ" , # flake8-datetimez
167- " E" , # pycodestyle
168- " ERA" , # flake8-eradicate
169- " EXE" , # flake8-executable
170- " F" , # pyflakes
171- " FBT" , # flake8-boolean-trap
172- " FLY" , # pyflint
161+ " A" , # flake8-builtins
162+ " B" , # flake8-bugbear
163+ " C4" , # flake8-comprehensions
164+ " C90" , # maccabe
165+ " COM" , # flake8-commas
166+ " D" , # pydocstyle
167+ " DTZ" , # flake8-datetimez
168+ " E" , # pycodestyle
169+ " ERA" , # flake8-eradicate
170+ " EXE" , # flake8-executable
171+ " F" , # pyflakes
172+ " FBT" , # flake8-boolean-trap
173+ " FLY" , # pyflint
173174 " FURB" , # refurb
174- " G" , # flake8-logging-format
175- " I" , # isort
176- " ICN" , # flake8-import-conventions
177- " ISC" , # flake8-implicit-str-concat
178- " LOG" , # flake8-logging
179- " N" , # pep8-naming
175+ " G" , # flake8-logging-format
176+ " I" , # isort
177+ " ICN" , # flake8-import-conventions
178+ " ISC" , # flake8-implicit-str-concat
179+ " LOG" , # flake8-logging
180+ " N" , # pep8-naming
180181 " PERF" , # perflint
181- " PIE" , # flake8-pie
182- " PL" , # pylint
183- " PT" , # flake8-pytest-style
184- " PTH" , # flake8-use-pathlib
185- " Q" , # flake8-quotes
186- " RET" , # flake8-return
187- " RSE" , # flake8-raise
188- " RUF" , # ruff
189- " S" , # flake8-bandit
190- " SIM" , # flake8-simpify
191- " SLF" , # flake8-self
182+ " PIE" , # flake8-pie
183+ " PL" , # pylint
184+ " PT" , # flake8-pytest-style
185+ " PTH" , # flake8-use-pathlib
186+ " Q" , # flake8-quotes
187+ " RET" , # flake8-return
188+ " RSE" , # flake8-raise
189+ " RUF" , # ruff
190+ " S" , # flake8-bandit
191+ " SIM" , # flake8-simpify
192+ " SLF" , # flake8-self
192193 " SLOT" , # flake8-slots
193194 " T100" , # flake8-debugger
194- " TRY" , # tryceratops
195- " UP" , # pyupgrade
196- " W" , # pycodestyle
197- " YTT" , # flake8-2020
195+ " TRY" , # tryceratops
196+ " UP" , # pyupgrade
197+ " W" , # pycodestyle
198+ " YTT" , # flake8-2020
198199]
199200ignore = [
200- " A005" , # allow to shadow stdlib and builtin module names
201- " B904" , # Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
201+ " A005" , # allow to shadow stdlib and builtin module names
202+ " B904" , # Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
202203 " COM812" , # trailing comma, conflicts with `ruff format`
203204 # Different doc rules that we don't really care about:
204205 " D100" ,
@@ -211,15 +212,15 @@ ignore = [
211212 " D401" ,
212213 " D404" ,
213214 " D405" ,
214- " ISC001" , # implicit string concat conflicts with `ruff format`
215- " ISC003" , # prefer explicit string concat over implicit concat
216- " PLR09" , # we have our own complexity rules
215+ " ISC001" , # implicit string concat conflicts with `ruff format`
216+ " ISC003" , # prefer explicit string concat over implicit concat
217+ " PLR09" , # we have our own complexity rules
217218 " PLR2004" , # do not report magic numbers
218219 " PLR6301" , # do not require classmethod / staticmethod when self not used
219220 " PT011" , # pytest.raises({exception}) is too broad, set the match parameter or use a more specific exception
220- " TRY003" , # long exception messages from `tryceratops`
221+ " TRY003" , # long exception messages from `tryceratops`
221222]
222- external = [ " AAA" , " WPS" ]
223+ external = [" AAA" , " WPS" ]
223224
224225# Plugin configs:
225226[tool .ruff .lint .flake8-import-conventions ]
0 commit comments