Skip to content

Commit

Permalink
add pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
dec1 committed May 10, 2024
1 parent 3641b02 commit 7624654
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ jobs:

- name: Run type checking with mypy
run: ./prj/script/venv/bin/mypy --check-untyped-defs -p test -p src

- name: Run linter with pylint
run: ./prj/script/venv/bin/python -m pylint src test
6 changes: 6 additions & 0 deletions details.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,9 @@ and I wanted to avoid requiring this of anyone else, wishing to run/test this pr
> ./prj/script/venv/bin/mypy --check-untyped-defs -p test -p src

Success: no issues found in 17 source files

## Check Lint
> ./prj/script/venv/bin/python -m pylint src test

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
2 changes: 1 addition & 1 deletion prj/pip_reqs_base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pytest

# quality control
mypy

pylint

numpy
matplotlib

0 comments on commit 7624654

Please sign in to comment.