Optimized imports #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
| # Copyright (C) 2026 Owen Debiasio | |
| # Licensed under the GNU General Public License v3.0 or later. | |
| # Full notice available in the root README.md or COPYING file. | |
| name: Python Lint | |
| on: [push] | |
| permissions: | |
| contents: read | |
| jobs: | |
| Python: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.14"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pylint black | |
| - name: Black format check | |
| run: | | |
| black --check . | |
| - name: Pylint | |
| run: | | |
| pylint $(git ls-files '*.py') |