Skip to content

Commit

Permalink
ci: updated Makefile and used for the lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomelo9 committed May 26, 2024
1 parent 8288159 commit 7347667
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,4 @@ jobs:
- name: Install dependencies
run: pip install pycodestyle pylint
- name: Run linters
run: |
pycodestyle pyfpga examples test
pylint pyfpga
run: make lint
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/usr/bin/make

check:
pycodestyle fpga examples test
pylint -s n fpga
lint:
pycodestyle pyfpga examples test
pylint -s n pyfpga
git diff --check --cached

test:
pytest test

clean:
Expand Down

0 comments on commit 7347667

Please sign in to comment.