Skip to content

Commit

Permalink
fix: Fix pylint errors because no-self-use was disabled in new pytlint
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfan committed Oct 19, 2024
1 parent 0770171 commit 01bdb6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/legion_linux/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
init-hook='import sys; sys.path.append("python/legion_linux")'

[MESSAGES CONTROL]
disable=missing-docstring,too-many-arguments,too-many-locals, import-error, duplicate-code, missing-module-docstring, too-many-instance-attributes, too-many-public-methods, no-name-in-module
disable=missing-docstring,no-self-use,too-many-arguments,too-many-locals, import-error, duplicate-code, missing-module-docstring, too-many-instance-attributes, too-many-public-methods, no-name-in-module

[FORMAT]
max-line-length=120
2 changes: 1 addition & 1 deletion tests/test_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
set -ex
DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

pylint --ignore-patterns=legion_gui_qt6.py,legion_version.py --rcfile ${DIR}/../python/legion_linux/pylintrc ${DIR}/../python/legion_linux/legion_linux
pylint --ignore-patterns=legion_gui_qt6.py,legion_version.py --disable no-self-use --rcfile ${DIR}/../python/legion_linux/pylintrc ${DIR}/../python/legion_linux/legion_linux

0 comments on commit 01bdb6e

Please sign in to comment.