support python3.9 by importing annotations from __future__ #158
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: Lint | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Lint Subwiz | |
| if: always() | |
| uses: psf/black@stable | |
| with: | |
| options: "--check --diff --color" | |
| src: "./subwiz" | |
| - name: Lint Tests | |
| if: always() | |
| uses: psf/black@stable | |
| with: | |
| options: "--check --diff --color" | |
| src: "./tests" |