Skip to content

Commit 91e1d60

Browse files
committed
Added pylint to pipeline and pre-push
1 parent ded4d50 commit 91e1d60

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.githooks/pre-push

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ source "${ROOT_DIR}/scripts/helpers"
66
./scripts/check_isort
77
./scripts/check_black
88
./scripts/check_flake8
9+
./scripts/check_pylint
910

1011
header "Proceeding with push"

.github/workflows/lint-and-test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,15 @@ jobs:
4040
uses: actions/checkout@v2
4141
- name: Check code errors
4242
run: ./scripts/check_flake8
43+
44+
pylint:
45+
runs-on: ubuntu-latest
46+
container:
47+
image: sergioteula/pytools
48+
volumes:
49+
- ${{github.workspace}}:/code
50+
steps:
51+
- name: Check out code
52+
uses: actions/checkout@v2
53+
- name: Check code errors
54+
run: ./scripts/check_pylint

0 commit comments

Comments
 (0)