Merge pull request #3 from Arcadia-Science/ter/cleavage #42
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: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: Install test dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pre-commit==3.5.0 ruff==0.1.6 snakefmt==0.8.5 | |
- name: Run Ruff | |
run: ruff check --output-format=github . | |
- name: Run Ruff formatter | |
run: ruff format --check . | |
- name: Run Snakefmt | |
run: snakefmt --check . |