diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ffe40b2..713754c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: files: *buildifier_external_files args: *buildifier_external_args - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: check-added-large-files - id: check-ast @@ -44,12 +44,12 @@ repos: - id: yapf args: [-i, --style, .style.yapf] - repo: https://github.com/asottile/reorder_python_imports - rev: v3.12.0 + rev: v3.13.0 hooks: - id: reorder-python-imports args: [--py37-plus] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.2 + rev: v0.5.7 hooks: - id: ruff args: [--fix, --show-fixes, --exit-non-zero-on-fix] diff --git a/build_tools/run_pylint.py b/build_tools/run_pylint.py index ddce774..4de0493 100644 --- a/build_tools/run_pylint.py +++ b/build_tools/run_pylint.py @@ -7,8 +7,8 @@ # Must be set before pylint is imported! os.environ['PYLINTHOME'] = os.environ['TEST_UNDECLARED_OUTPUTS_DIR'] -import pylint.lint # noqa -import pylint.reporters.text # noqa +import pylint.lint +import pylint.reporters.text PYLINTRC_FILE = './pylint.rc' NUM_CPU_CORES_FOR_PYLINT = 2