Final Refactors #158
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: Style Checking with Flake8 | |
on: | |
push: | |
branches: [ "main" ] | |
paths: | |
- "translation/**" | |
- "irt/**" | |
- "samples/**" | |
pull_request: | |
branches: [ "main" ] | |
paths: | |
- "translation/**" | |
- "irt/**" | |
- "samples/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Flake8 | |
run: | | |
python -m pip install flake8 | |
- name: Check with flake8 | |
run: | | |
flake8 --ignore=E501 translation irt samples |