mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-13 19:21:50 +02:00
ci: check for disallowed imports from PySide
This commit is contained in:
9
.github/workflows/formatter.yml
vendored
9
.github/workflows/formatter.yml
vendored
@ -14,10 +14,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Run black and isort
|
- name: Run black and isort
|
||||||
run: |
|
run: |
|
||||||
pip install black isort
|
pip install uv
|
||||||
pip install -e .[dev]
|
uv pip install --system black isort
|
||||||
|
uv pip install --system -e .[dev]
|
||||||
black --check --diff --color .
|
black --check --diff --color .
|
||||||
isort --check --diff ./
|
isort --check --diff ./
|
||||||
|
|
||||||
|
- name: Check for disallowed imports from PySide
|
||||||
|
run: '! grep -re "from PySide6\." bec_widgets/ | grep -v -e "PySide6.QtDesigner" -e "PySide6.scripts"'
|
||||||
|
|
||||||
Pylint:
|
Pylint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user