Skip to content

Commit 1258a63

Browse files
committed
♻️ refactor: update formatting and linting scripts to target 'app' directory only
1 parent 11eae15 commit 1258a63

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

scripts/format.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh -e
22
set -x
33

4-
ruff format app alembic
5-
black app alembic
6-
isort app alembic --profile=black
4+
ruff format app
5+
black app
6+
isort app --profile=black

scripts/lint.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44
set -x
55

6-
# mypy app alembic
7-
ruff check app alembic
8-
black app alembic --check
9-
isort app alembic --profile=black --check-only
6+
# mypy app
7+
ruff check app
8+
black app --check
9+
isort app --profile=black --check-only

0 commit comments

Comments
 (0)