fix ruff command #208
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 and style check | |
on: [ push ] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install ruff and black | |
run: | | |
python -m pip install --upgrade pip | |
pip install ruff black | |
- name: Lint check with ruff | |
run: | | |
ruff --line-length 79 . | |
- name: Style check with black | |
run: | | |
black ./ --check --line-length 79 |