Skip to content

Commit

Permalink
Using hatch
Browse files Browse the repository at this point in the history
  • Loading branch information
jcadam14 committed May 22, 2024
1 parent a00518e commit 9feaa04
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.create false
poetry install --only linters --no-root
pip install hatch
- name: Run black
run: |
poetry run black --check .
hatch -e lint run black .
ruff:
runs-on: ubuntu-latest
steps:
Expand All @@ -31,9 +29,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.create false
poetry install --only linters --no-root
pip install hatch
- name: Run ruff
run: |
poetry run ruff .
hatch -e lint run ruff .

0 comments on commit 9feaa04

Please sign in to comment.