Refactor codebase to migrate from PyQt5 to QtPy and PySide2 (#104) #276
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: python Workflow | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| check-style: | |
| name: Find Trailing Whitespace | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Find Trailing Whitespace | |
| run: | | |
| set +e | |
| lines=$(git grep --cached -In '[[:blank:]]$') | |
| if [ ! -z "$lines" ]; then | |
| echo -e "\n The following lines contain trailing whitespace: \n" | |
| echo -e "${lines}" | |
| echo -e "\nFailed.\n" | |
| exit 1 | |
| fi | |
| exit 0 |