Skip to content

Commit

Permalink
Make sure webpack-cli is installed and use make pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
aloftus23 committed Jan 3, 2025
1 parent effe590 commit ec650eb
Show file tree
Hide file tree
Showing 5 changed files with 4,332 additions and 3,142 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- run: pip install -r requirements.txt

- name: Lint with pylint
run: PYTHONPATH=/src pylint .
run: make pylint

test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -77,11 +77,6 @@ jobs:
- name: Sync database
run: make syncdb

- name: Package with Serverless
run: npx serverless package
env:
SLS_DEBUG: '*'

- name: Run pytest
run: make pytest

Expand Down
3 changes: 3 additions & 0 deletions backend/.pylintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[MASTER]
ignore=tests

[CLASSES]
min-public-methods=1

Expand Down
Loading

0 comments on commit ec650eb

Please sign in to comment.