Chocobo1
50d60b9589
GHA CI: enforce sorted import in Python scripts
...
This main point is to normalize the sorting of imports in Python scripts.
Currently the default setting from isort is used: https://pycqa.github.io/isort/docs/configuration/custom_sections_and_ordering.html
PR #22793 .
2025-05-31 18:01:02 +08:00
Chocobo1
0a36171999
Sort grid items properly
...
Supersedes #21856 .
2024-12-16 01:30:47 +08:00
Chocobo1
c887a6f7d8
GHA CI: add checks for grid items order
...
Now all items under `QGridLayout` are required to be sorted. This allow
us to omit tabstop order. The tabstop order will follow the layout order.
The script can be invoked to fix wrong grid items order in .ui files:
```console
python check_grid_items_order.py file.ui
```
2024-12-14 17:08:18 +08:00
xavier2k6
56a0692b68
GHA CI: Update pre-commit-config workflow
...
* Bumped numerous revisions
* Removed obsolete exclusions (files/folders were removed previously)
* Implement fix/workaround for "false positives" (typos/codespell)
PR #21460 .
2024-10-06 16:49:30 +08:00
Chocobo1
47c38e8d91
Apply formatting
2024-03-23 13:55:58 +08:00
Chocobo1
88bd4f270f
GHA CI: add spelling check (typos)
2023-06-26 16:45:41 +08:00
Chocobo1
69df85f564
Move script into its own subfolder
2023-04-24 13:18:10 +08:00