From 1f5d5a17e39a901c1f81a814026e17100dcf0d0c Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Sat, 29 Apr 2023 18:27:21 -0400 Subject: [PATCH] update lint rules --- .github/workflows/on_pull_request.yaml | 4 ---- .pylintrc | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/on_pull_request.yaml b/.github/workflows/on_pull_request.yaml index 011fe9b2d..8693fd003 100644 --- a/.github/workflows/on_pull_request.yaml +++ b/.github/workflows/on_pull_request.yaml @@ -28,11 +28,7 @@ jobs: run: | python -m pip install --upgrade pip pip install pylint - # This lets PyLint check to see if it can resolve imports - name: Install dependencies - run: | - export COMMANDLINE_ARGS="--skip-torch-cuda-test --exit" - python launch.py - name: Analysing the code with pylint run: | pylint $(git ls-files '*.py') diff --git a/.pylintrc b/.pylintrc index 72e1224e8..515dce01d 100644 --- a/.pylintrc +++ b/.pylintrc @@ -11,6 +11,7 @@ fail-under=10 ignore=CVS ignore-paths=^repositories/.*$, ^extensions/.*$, + ^extensions-builtin/.*$, /usr/lib/.*$, ignore-patterns= ignored-modules= @@ -141,6 +142,8 @@ disable=raw-checker-failed, consider-using-dict-items, dangerous-default-value, unnecessary-dunder-call, + invalid-name, + R0801, enable=c-extension-no-member [METHOD_ARGS]