Skip to content

Commit

Permalink
Merge remote-tracking branch 'richtja/lint_update'
Browse files Browse the repository at this point in the history
Signed-off-by: Cleber Rosa <[email protected]>
  • Loading branch information
clebergnu committed Jul 24, 2024
2 parents 8538a12 + ef4bdfb commit 87b2610
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions check-lint
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

TOOL_CMD=pylint
PATH=$(basename $0)/utils:$PATH
TOOL_PATH=$(which pylint-3 2>/dev/null || which pylint)
CONFIG_PATH="$(dirname $0)/default_configs/pylintrc"
FILES=$(git ls-files '*.py')

echo "** Running $TOOL_CMD ($TOOL_PATH using config from $CONFIG_PATH)..."
$TOOL_PATH --rcfile=$CONFIG_PATH $FILES
echo "** Running $TOOL_CMD (using config from $CONFIG_PATH)..."
python3 -m pylint --rcfile=$CONFIG_PATH $FILES
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
isort==5.10.1
black==22.3.0
pylint==2.17.2
pylint==3.0.0

0 comments on commit 87b2610

Please sign in to comment.