diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 87cacf5..1ff0e2b 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -24,4 +24,4 @@ jobs: python3 -m unittest -v tests/test_install.py - name: Analysing the code with pylint run: | - pylint $(git ls-files '*.py') + pylint $(git ls-files 'v4l2/*.py' 'tests/*.py') diff --git a/.pylintrc b/.pylintrc index c7799e6..b48aa7a 100644 --- a/.pylintrc +++ b/.pylintrc @@ -24,7 +24,7 @@ ignore=CVS # Add files or directories matching the regex patterns to the ignore-list. The # regex matches against paths and can be in Posix or Windows format. -ignore-paths=v4l2/uapi/v4l2.py,v4l2/uapi/ctypes_preamble.py,extra/,utils/ +ignore-paths=v4l2/uapi/v4l2.py,v4l2/uapi/ctypes_preamble.py,extra/ # Files or directories matching the regex patterns are skipped. The regex # matches against base names, not paths.