From 7ed8385aaca2d63c15d9934ddc14e0ee7da4a2b1 Mon Sep 17 00:00:00 2001 From: Joseph H Kennedy Date: Thu, 30 Nov 2023 08:45:32 -0900 Subject: [PATCH] ruff everything! --- .github/workflows/static-analysis.yml | 4 ++-- scripts/format.sh | 4 ++-- scripts/lint.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 599bd3c2..826982aa 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -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 . diff --git a/scripts/format.sh b/scripts/format.sh index aaeb10e5..631d46b5 100755 --- a/scripts/format.sh +++ b/scripts/format.sh @@ -1,5 +1,5 @@ #!/bin/sh -e set -x -ruff check --fix earthaccess tests -ruff format earthaccess tests +ruff check --fix . +ruff format . diff --git a/scripts/lint.sh b/scripts/lint.sh index b8f7088f..3a528811 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -4,4 +4,4 @@ set -e set -x mypy earthaccess --disallow-untyped-defs -ruff check earthaccess tests +ruff check .