Skip to content

Commit

Permalink
Run ruff in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
symroe committed Nov 29, 2024
1 parent 0c89f26 commit bef67ed
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ jobs:
name: Set up virtual environment
command: |
pipenv sync --dev
- run: pipenv run playwright install --with-deps chromium
- run: pipenv run ruff check .
- run: ./scripts/lint.sh
- run: ./scripts/format.sh
- run: make lambda-layers/DependenciesLayer/requirements.txt
- run: npm install
- run: npm run build
Expand Down
4 changes: 4 additions & 0 deletions scripts/format.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -euxo pipefail

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

pipenv run ruff check .

0 comments on commit bef67ed

Please sign in to comment.