Skip to content

Commit

Permalink
tweak ruff scripts (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris48s authored Dec 9, 2024
1 parent 3ec03be commit cde8c43
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ jobs:
command: |
uv sync --dev --no-python-downloads
- run: ./scripts/lint.sh
- run: ./scripts/format.sh
- run: ./scripts/code-check.sh
- run: make lambda-layers/DependenciesLayer/requirements.txt
- run: npm install
- run: npm run build
Expand Down
1 change: 1 addition & 0 deletions scripts/format.sh → scripts/code-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
set -euxo pipefail

uv run ruff format . --check
uv run ruff check .
5 changes: 5 additions & 0 deletions scripts/code-format.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -euxo pipefail

uv run ruff format .
uv run ruff check . --fix
4 changes: 0 additions & 4 deletions scripts/lint.sh

This file was deleted.

0 comments on commit cde8c43

Please sign in to comment.