minor changes #73
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
# style.yml | |
name: style | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
jobs: | |
ruff: | |
name: ruff | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Set-up python version | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8" # supported by all tensorflow versions | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install -r requirements/style.txt | |
- name: Run ruff checks | |
run: ruff check --diff src/ tests/ scripts/ |