Skip to content

Commit

Permalink
Ignore pylint refactoring messages.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 704848121
  • Loading branch information
fidlej authored and MctxDev committed Dec 11, 2024
1 parent 548cfb2 commit 179219d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ pip install -r requirements/requirements-test.txt
flake8 `find mctx -name '*.py' | xargs` --count --select=E9,F63,F7,F82,E225,E251 --show-source --statistics

# Lint with pylint.
# Fail on errors, warning, conventions and refactoring messages.
PYLINT_ARGS="-efail -wfail -cfail -rfail"
# Fail on errors, warning, and conventions.
PYLINT_ARGS="-efail -wfail -cfail"
# Lint modules and tests separately.
pylint --rcfile=.pylintrc `find mctx -name '*.py' | grep -v 'test.py' | xargs` || pylint-exit $PYLINT_ARGS $?
# Disable `protected-access` warnings for tests.
Expand Down

0 comments on commit 179219d

Please sign in to comment.