Merge pull request #21 from xcoder-tool/pvr-tex-tool-refactoring #26
This file contains 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, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install requirements | |
run: | | |
pip install flake8 pyright | |
pip install -r requirements.txt | |
- name: Linting code by flake8 | |
run: | | |
flake8 --show-source --statistics | |
- name: Check types by pyright | |
run: | | |
pyright |