diff --git a/.github/workflows/cloud_chatops.yaml b/.github/workflows/cloud_chatops.yaml index 011bc172..41276cdd 100644 --- a/.github/workflows/cloud_chatops.yaml +++ b/.github/workflows/cloud_chatops.yaml @@ -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: | diff --git a/cloud_chatops/.pylintrc b/cloud_chatops/.pylintrc index 29aebfeb..327ee415 100644 --- a/cloud_chatops/.pylintrc +++ b/cloud_chatops/.pylintrc @@ -6,4 +6,7 @@ max-line-length=120 # Disable various warnings: # R0801 - Duplicate Code - Ignored to be fixed in future PRs -disable=R0801 \ No newline at end of file +disable=R0801 + +[MASTER] +init-hook='import sys; sys.path.append("src")' \ No newline at end of file