[cr149] Suppress pylint error.

** Presubmit ERRORS: 1 **
Pylint (7 files)
/home/ubuntu/teamcity/work/space/src/brave/vendor/depot_tools/pylint-2.7 --args-on-stdin (5.63s) failed
************* Module PRESUBMIT
PRESUBMIT.py:721:17: E1101: Module 'checkstyle' has no 'run_checkstyle' member (no-member)
This commit is contained in:
Max Karolinskiy
2026-05-22 16:57:46 -04:00
parent fbbb5ba403
commit 29deff10c3
+1 -1
View File
@@ -718,7 +718,7 @@ def CheckJavaStyle(_original_check, input_api, output_api):
local_path = os.path.join(input_api.PresubmitLocalPath(), 'brave')
style_file = os.path.join(input_api.PresubmitLocalPath(), 'brave', 'tools',
'android', 'checkstyle', 'brave-style-5.0.xml')
violations = checkstyle.run_checkstyle(local_path, style_file, java_files)
violations = checkstyle.run_checkstyle(local_path, style_file, java_files) # pylint: disable=no-member
warnings = [' ' + str(v) for v in violations if v.is_warning()]
errors = [' ' + str(v) for v in violations if v.is_error()]