mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-24 09:18:04 -06:00
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 ```
This commit is contained in:
4
.github/workflows/ci_python.yaml
vendored
4
.github/workflows/ci_python.yaml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
- name: Lint code (auxiliary scripts)
|
||||
run: |
|
||||
pyflakes $PY_FILES
|
||||
bandit --skip B314,B405 $PY_FILES
|
||||
bandit --skip B101,B314,B405 $PY_FILES
|
||||
|
||||
- name: Format code (auxiliary scripts)
|
||||
run: |
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
echo $PY_FILES
|
||||
echo "PY_FILES=$PY_FILES" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Check typings (search engine)
|
||||
- name: Check typings (search engine)
|
||||
run: |
|
||||
MYPYPATH="src/searchengine/nova3" \
|
||||
mypy \
|
||||
|
||||
Reference in New Issue
Block a user