Commit Graph

5 Commits

Author SHA1 Message Date
Philipp Wolfer
7d55ae5e5d PICARD-2331: Upgrade to PyQt6 2023-10-13 07:10:06 +02:00
Laurent Monin
d5157de058 Fix isort config
Fix following error occuring with isort v5+:

ERROR: Found resources import while parsing, but FIRSTPARTY was not included in the `sections` setting of your config. Please add it before continuing
See https://pycqa.github.io/isort/#custom-sections-and-ordering for more info.
2023-09-07 17:39:06 +02:00
Philipp Wolfer
e46419fb43 Upgrade to isort 5 (#2164)
* Upgrade to isort 5

isort 5 now can also handle imports not at top, hence some new locations now get sorted automatically.

* Move isort config from .isort.cfg to pyproject.toml

* isort: remove exclusion of some source files

isort now only ignores auto-generated files. The other files had been excluded because old isort could not handle imports not placed on the top.

* isort: use skip_glob to ignore resources.py

This should fix issues with the `skip` parameter on Windows.
2022-10-29 15:44:12 +02:00
Philipp Wolfer
a99f75209a Specify minimum required setuptools version in pyproject.toml 2022-10-27 21:30:27 +02:00
Philipp Wolfer
522353e11e Explicitily define build backend (PEP 517) 2022-10-27 21:27:08 +02:00