Skip to content

Commit e2a629c

Browse files
authored
Merge pull request #1354 from PokeAPI/Naramsim-patch-5
Exclude scripts folder from format checking
2 parents 118cb91 + 2e2b9eb commit e2a629c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ docker-prod:
8787
docker-setup: docker-up docker-migrate docker-build-db # (Docker) Start services, prepare the latest DB schema, populate the DB
8888

8989
format: # Format the source code
90-
black .
90+
black . --extend-exclude '.+/scripts/.+'
9191

9292
format-check: # Check the source code has been formatted
93-
black . --check --exclude 'Resources/scripts/.*'
93+
black . --check --extend-exclude '.+/scripts/.+'
9494

9595
pull:
9696
git checkout master

0 commit comments

Comments
 (0)