Skip to content

Commit

Permalink
ruff everything!
Browse files Browse the repository at this point in the history
  • Loading branch information
jhkennedy committed Nov 30, 2023
1 parent 7b2d5d1 commit 7ed8385
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- name: Ruff linting check
run: |
ruff check --output-format=github earthaccess tests
ruff check --output-format=github .
- name: Ruff format check
run: |
ruff format --diff earthaccess tests
ruff format --diff .
4 changes: 2 additions & 2 deletions scripts/format.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh -e
set -x

ruff check --fix earthaccess tests
ruff format earthaccess tests
ruff check --fix .
ruff format .
2 changes: 1 addition & 1 deletion scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -e
set -x

mypy earthaccess --disallow-untyped-defs
ruff check earthaccess tests
ruff check .

0 comments on commit 7ed8385

Please sign in to comment.