File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414# limitations under the License.
1515
1616# ###############################################################################
17- # Runs pylint on the repository using a preconfigured .pylintrc file .
17+ # Runs pylint from the top level of the project .
1818#
1919# Usage:
2020# check/pylint [--flags]
2424cd " $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) " || exit 1
2525cd " $( git rev-parse --show-toplevel) " || exit 1
2626
27- pylint --rcfile=dev_tools/conf/.pylintrc " $@ " src dev_tools
27+ pylint " $@ " src dev_tools
Original file line number Diff line number Diff line change 1414# See the License for the specific language governing permissions and
1515# limitations under the License.
1616
17- # Summary: run pylint on changed files using a preconfigured .pylintrc file .
17+ # Summary: run pylint on changed files from the top level of the project .
1818#
1919# Usage:
2020# check/pylint-changed-files [BASE_REVISION]
@@ -81,4 +81,4 @@ echo "Found ${num_changed} lintable files associated with changes." >&2
8181if [ " ${num_changed} " -eq 0 ]; then
8282 exit 0
8383fi
84- env PYTHONPATH=dev_tools pylint --jobs=0 --rcfile=dev_tools/conf/.pylintrc " ${changed[@]} "
84+ env PYTHONPATH=dev_tools pylint --jobs=0 " ${changed[@]} "
You can’t perform that action at this time.
0 commit comments