Skip to content

Commit

Permalink
blinkpy: Drop unused pbxproj checker from check_blink_style.py
Browse files Browse the repository at this point in the history
Blink does not have *.pbxproj files.
This CL has no production behavior changes.

Bug: 756721
Change-Id: I93e0517ddc17f6306530a946be1ad04832f27265
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3709372
Auto-Submit: Kent Tamura <[email protected]>
Reviewed-by: Weizhong Xia <[email protected]>
Commit-Queue: Weizhong Xia <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1014927}
NOKEYCHECK=True
GitOrigin-RevId: 8a7dc0cd8c1cf73e0c361b7d5e777e7972a23f98
  • Loading branch information
tkent-google authored and copybara-github committed Jun 16, 2022
1 parent 1a27fe0 commit 35e0a76
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 139 deletions.
8 changes: 0 additions & 8 deletions blink/tools/blinkpy/style/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
from blinkpy.style.checkers.png import PNGChecker
from blinkpy.style.checkers.python import PythonChecker
from blinkpy.style.checkers.text import TextChecker
from blinkpy.style.checkers.xcodeproj import XcodeProjectFileChecker
from blinkpy.style.checkers.xml import XMLChecker
from blinkpy.style.error_handlers import DefaultStyleErrorHandler
from blinkpy.style.filter import FilterConfiguration
Expand Down Expand Up @@ -159,8 +158,6 @@
'y',
]

_XCODEPROJ_FILE_EXTENSION = 'pbxproj'

_XML_FILE_EXTENSIONS = [
'vcproj',
'vsprops',
Expand Down Expand Up @@ -333,7 +330,6 @@ class FileType:
TEXT = 6
# WATCHLIST = 7
XML = 8
XCODEPROJ = 9


class CheckerDispatcher(object):
Expand Down Expand Up @@ -385,8 +381,6 @@ def _file_type(self, file_path):
return FileType.PYTHON
elif file_extension in _XML_FILE_EXTENSIONS:
return FileType.XML
elif file_extension == _XCODEPROJ_FILE_EXTENSION:
return FileType.XCODEPROJ
elif file_extension == _PNG_FILE_EXTENSION:
return FileType.PNG
elif (file_extension in _TEXT_FILE_EXTENSIONS):
Expand All @@ -409,8 +403,6 @@ def _create_checker(self, file_type, file_path, handle_style_error,
checker = PythonChecker(file_path, handle_style_error)
elif file_type == FileType.XML:
checker = XMLChecker(file_path, handle_style_error)
elif file_type == FileType.XCODEPROJ:
checker = XcodeProjectFileChecker(file_path, handle_style_error)
elif file_type == FileType.PNG:
checker = PNGChecker(file_path, handle_style_error)
elif file_type == FileType.TEXT:
Expand Down
57 changes: 0 additions & 57 deletions blink/tools/blinkpy/style/checkers/xcodeproj.py

This file was deleted.

74 changes: 0 additions & 74 deletions blink/tools/blinkpy/style/checkers/xcodeproj_unittest.py

This file was deleted.

0 comments on commit 35e0a76

Please sign in to comment.