Skip to content

Commit f9e4ea2

Browse files
style: auto-fix linting issues
Remove duplicate parser property and fix formatting. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7bde4e6 commit f9e4ea2

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

codeflash/languages/javascript/treesitter.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1772,14 +1772,6 @@ def _extract_type_definition(
17721772
)
17731773

17741774

1775-
@property
1776-
def parser(self) -> Parser:
1777-
# Lazy-initialize the Parser to avoid doing work until parsing is needed.
1778-
if self._parser is None:
1779-
self._parser = Parser()
1780-
return self._parser
1781-
1782-
17831775
def get_analyzer_for_file(file_path: Path) -> TreeSitterAnalyzer:
17841776
"""Get the appropriate TreeSitterAnalyzer for a file based on its extension.
17851777

0 commit comments

Comments
 (0)