Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Feb 20, 2024
1 parent ea5a931 commit b6fe800
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ jobs:
run: pip install "ruff==0.2.2" "docformatter[tomli]==1.5.0"
- name: Ruff (Flake8)
if: matrix.check == 'ruff'
working-directory: src/
run: ruff check --show-fixes --exit-non-zero-on-fix gluonts
uses: chartboost/ruff-action@v1
with:
src: "./src"
version: 0.2.2
- name: Docformatter
if: matrix.check == 'docformatter'
working-directory: src/
run: docformatter --check -r gluonts
run: docformatter --check -r .

0 comments on commit b6fe800

Please sign in to comment.