Skip to content

Commit

Permalink
BUG: Fix pylint again
Browse files Browse the repository at this point in the history
Add the working directory to path for pylint
  • Loading branch information
khalford committed Sep 24, 2024
1 parent 5fd1dde commit 7463fbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/cloud_chatops.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ jobs:
- name: Analyse with pylint
run: |
cd cloud_chatops
pylint src --rcfile=.pylintrc
pylint tests --rcfile=.pylintrc
pylint . --recursive=true --rcfile=.pylintrc
- name: Run tests
run: |
Expand Down
5 changes: 4 additions & 1 deletion cloud_chatops/.pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ max-line-length=120
# Disable various warnings:
# R0801 - Duplicate Code - Ignored to be fixed in future PRs

disable=R0801
disable=R0801

[MASTER]
init-hook='import sys; sys.path.append("src")'

0 comments on commit 7463fbb

Please sign in to comment.