Fix false positive in bandit #46
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: 'Ruff Lint' | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - 'dseichter/**' | |
| pull_request: | |
| branches: | |
| - main | |
| - 'dseichter/**' | |
| jobs: | |
| lint: | |
| name: 'Ruff' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 'Checkout' | |
| uses: actions/checkout@v6 | |
| - name: 'Set up Python' | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.12' | |
| - name: 'Install Ruff' | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install ruff | |
| - name: 'Ruff Lint' | |
| run: | | |
| # Exclude generated or packaging files from the Ruff check | |
| ruff check . --exclude src/icons.py,src/resources_rc.py,version_info.py --output-format=github |