A formatter for Python files
This report presents the forensic synthetic code analysis of google/yapf, a Python project with 13,979 GitHub stars. SynthScan v2.0 examined 30,418 lines of code across 93 source files, recording 202 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 7.1 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 202 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/pre-commit.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | yapftests/comment_splicer_test.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/logical_line_test.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/pytree_utils_test.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/reformatter_python3_test.py | 1 | # Copyright 2016 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/reformatter_basic_test.py | 1 | # Copyright 2016 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/blank_line_calculator_test.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/reformatter_style_config_test.py | 1 | # Copyright 2016 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/__init__.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/reformatter_facebook_test.py | 1 | # Copyright 2016 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/pytree_unwrapper_test.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/format_token_test.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/utils.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | yapftests/subtype_assigner_test.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/pytree_visitor_test.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/main_test.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | yapftests/reformatter_buganizer_test.py | 1 | # Copyright 2016 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/split_penalty_test.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/style_test.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | yapftests/yapf_test.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | yapftests/line_joiner_test.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/yapf_test_helper.py | 1 | # Copyright 2016 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/reformatter_pep8_test.py | 1 | # Copyright 2016 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapftests/file_resources_test.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | yapftests/format_decision_state_test.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/__init__.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/__main__.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/pytree/pytree_visitor.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/pytree/pytree_utils.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/pytree/comment_splicer.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/pytree/comment_splicer.py | 81 | standalone=False), prev_leaf[0]) | COMMENT |
| LOW | yapf/pytree/__init__.py | 1 | # Copyright 2021 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/pytree/blank_line_calculator.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/pytree/split_penalty.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/pytree/pytree_unwrapper.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/pytree/subtype_assigner.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/pytree/continuation_splicer.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/pyparser/pyparser_utils.py | 1 | # Copyright 2022 Bill Wendling, All Rights Reserved. | COMMENT |
| LOW | yapf/pyparser/pyparser.py | 1 | # Copyright 2022 Bill Wendling, All Rights Reserved. | COMMENT |
| LOW | yapf/pyparser/__init__.py | 1 | # Copyright 2022 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/pyparser/split_penalty_visitor.py | 1 | # Copyright 2022 Bill Wendling, All Rights Reserved. | COMMENT |
| LOW | yapf/pyparser/split_penalty_visitor.py | 41 | ############################################################################ | COMMENT |
| LOW | yapf/pyparser/split_penalty_visitor.py | 81 | # AsyncFunctionDef(name=Name, | COMMENT |
| LOW | yapf/pyparser/split_penalty_visitor.py | 141 | # AnnAssign(target=Expr, | COMMENT |
| LOW | yapf/pyparser/split_penalty_visitor.py | 181 | return self.generic_visit(node) | COMMENT |
| LOW | yapf/pyparser/split_penalty_visitor.py | 201 | # orelse=[...], | COMMENT |
| LOW | yapf/pyparser/split_penalty_visitor.py | 841 | COMMENT | |
| LOW | yapf/yapflib/object_state.py | 1 | # Copyright 2017 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/yapflib/yapf_api.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/yapflib/format_decision_state.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/yapflib/format_decision_state.py | 481 | _IsFunctionCallWithArguments(current)): | COMMENT |
| LOW | yapf/yapflib/style.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/yapflib/logical_line.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/yapflib/logical_line.py | 241 | COMMENT | |
| LOW | yapf/yapflib/__init__.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/yapflib/reformatter.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/yapflib/line_joiner.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/yapflib/split_penalty.py | 1 | # Copyright 2022 Bill Wendling, All Rights Reserved. | COMMENT |
| LOW | yapf/yapflib/file_resources.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| LOW | yapf/yapflib/format_token.py | 1 | # Copyright 2015 Google Inc. All Rights Reserved. | COMMENT |
| 10 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | yapftests/reformatter_python3_test.py | 260 | async def run_sync_in_worker_thread(sync_fn, *args, cancellable=False, limiter=None): | CODE |
| LOW | yapftests/reformatter_python3_test.py | 266 | def run_sync_in_worker_thread(sync_fn, *args, cancellable=False, limiter=None): | CODE |
| LOW | yapftests/reformatter_python3_test.py | 283 | async def run_sync_in_worker_thread( | CODE |
| LOW | yapftests/reformatter_python3_test.py | 302 | def run_sync_in_worker_thread(sync_fn, *args, cancellable=False, limiter=None): | CODE |
| LOW | yapftests/reformatter_basic_test.py | 2312 | def _pack_results_for_constraint_or(cls, combination, constraints): | CODE |
| LOW | yapftests/reformatter_basic_test.py | 2326 | def _pack_results_for_constraint_or(cls, combination, constraints): | CODE |
| LOW | yapftests/blank_line_calculator_test.py | 250 | def test_unicode_filename_in_sdist(self, sdist_unicode, tmpdir, monkeypatch): | STRING |
| LOW⚡ | yapftests/reformatter_facebook_test.py | 33 | def overly_long_function_name( | CODE |
| LOW⚡ | yapftests/reformatter_facebook_test.py | 38 | def overly_long_function_name(just_one_arg, **kwargs): | CODE |
| LOW⚡ | yapftests/reformatter_facebook_test.py | 46 | def overly_long_function_name( | CODE |
| LOW⚡ | yapftests/reformatter_facebook_test.py | 52 | def overly_long_function_name( | CODE |
| LOW⚡ | yapftests/reformatter_facebook_test.py | 62 | def overly_long_function_name(a, b, c, d, e, f, g, h, i, j, k, l, m, | CODE |
| LOW⚡ | yapftests/reformatter_facebook_test.py | 67 | def overly_long_function_name( | CODE |
| LOW⚡ | yapftests/reformatter_facebook_test.py | 77 | def overly_long_function_name( | CODE |
| LOW⚡ | yapftests/reformatter_facebook_test.py | 85 | def overly_long_function_name( | CODE |
| LOW | yapftests/reformatter_facebook_test.py | 250 | def _pack_results_for_constraint_or(): | CODE |
| LOW | yapftests/reformatter_facebook_test.py | 288 | def _pack_results_for_constraint_or(): | CODE |
| LOW | yapftests/reformatter_facebook_test.py | 371 | def _pack_results_for_constraint_or(cls, combination, constraints): | CODE |
| LOW | yapftests/reformatter_buganizer_test.py | 33 | def _create_testing_simulator_and_sink( | CODE |
| LOW | yapftests/reformatter_buganizer_test.py | 221 | def xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx( | CODE |
| LOW | yapftests/yapf_test.py | 1116 | def overly_long_function_name(first_argument_on_the_same_line, | CODE |
| LOW | yapftests/yapf_test.py | 1121 | def overly_long_function_name(first_argument_on_the_same_line, | CODE |
| LOW⚡ | yapftests/yapf_test.py | 1139 | def overly_long_function_name( | CODE |
| LOW⚡ | yapftests/yapf_test.py | 1145 | # def overly_long_function_name( | COMMENT |
| LOW⚡ | yapftests/yapf_test.py | 1151 | def overly_long_function_name( | CODE |
| LOW | yapftests/reformatter_pep8_test.py | 627 | def simple_pass_function_with_an_extremely_long_name_and_some_arguments( | STRING |
| LOW⚡ | yapftests/file_resources_test.py | 59 | def test_get_exclude_file_patterns_from_yapfignore(self): | CODE |
| LOW⚡ | yapftests/file_resources_test.py | 69 | def test_get_exclude_file_patterns_from_yapfignore_with_wrong_syntax(self): | CODE |
| LOW⚡ | yapftests/file_resources_test.py | 78 | def test_get_exclude_file_patterns_from_pyproject(self): | CODE |
| LOW⚡ | yapftests/file_resources_test.py | 91 | def test_get_exclude_file_patterns_from_pyproject_no_ignore_section(self): | CODE |
| LOW⚡ | yapftests/file_resources_test.py | 100 | def test_get_exclude_file_patterns_from_pyproject_ignore_section_empty(self): | CODE |
| LOW⚡ | yapftests/file_resources_test.py | 110 | def test_get_exclude_file_patterns_with_no_config_files(self): | CODE |
| LOW⚡ | yapftests/file_resources_test.py | 505 | def test_line_ending_linefeed(self): | CODE |
| LOW⚡ | yapftests/file_resources_test.py | 510 | def test_line_ending_carriage_return(self): | CODE |
| LOW⚡ | yapftests/file_resources_test.py | 520 | def test_line_ending_weighted(self): | CODE |
| LOW | yapftests/file_resources_test.py | 131 | def test_no_local_style_custom_default(self): | CODE |
| LOW | yapftests/file_resources_test.py | 188 | def mock_exists_implementation(path): | CODE |
| LOW | yapftests/file_resources_test.py | 238 | def test_nonrecursive_find_in_dir(self): | CODE |
| LOW | yapftests/file_resources_test.py | 252 | def test_recursive_find_in_dir(self): | CODE |
| LOW | yapftests/file_resources_test.py | 269 | def test_recursive_find_in_dir_with_exclude(self): | CODE |
| LOW | yapftests/file_resources_test.py | 290 | def test_find_with_excluded_hidden_dirs(self): | CODE |
| LOW | yapftests/file_resources_test.py | 312 | def test_find_with_excluded_hidden_dirs_relative(self): | CODE |
| LOW | yapftests/file_resources_test.py | 354 | def test_find_with_excluded_dirs(self): | CODE |
| LOW | yapftests/file_resources_test.py | 389 | def test_find_with_excluded_current_dir(self): | CODE |
| LOW | yapftests/file_resources_test.py | 406 | def test_empty_without_py_extension(self): | CODE |
| LOW | yapftests/file_resources_test.py | 429 | def test_with_invalid_encoding(self): | CODE |
| LOW | yapftests/file_resources_test.py | 494 | def test_write_encoded_to_stdout(self): | CODE |
| LOW | yapftests/file_resources_test.py | 535 | def test_line_ending_no_newline(self): | CODE |
| LOW | yapf/yapflib/format_token.py | 129 | def formatted_whitespace_prefix(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | yapf/pytree/comment_splicer.py | 31 | CODE | |
| LOW | yapf/pytree/comment_splicer.py | 46 | CODE | |
| LOW | yapf/pytree/split_penalty.py | 120 | CODE | |
| LOW | yapf/pytree/split_penalty.py | 208 | CODE | |
| LOW | yapf/pytree/split_penalty.py | 274 | CODE | |
| LOW | yapf/pytree/split_penalty.py | 477 | CODE | |
| LOW | yapf/pytree/pytree_unwrapper.py | 408 | CODE | |
| LOW | yapf/pytree/subtype_assigner.py | 62 | CODE | |
| LOW | yapf/pytree/subtype_assigner.py | 139 | CODE | |
| LOW | yapf/pytree/subtype_assigner.py | 294 | CODE | |
| LOW | yapf/pyparser/pyparser.py | 84 | CODE | |
| LOW | yapf/yapflib/yapf_api.py | 281 | CODE | |
| LOW | yapf/yapflib/format_decision_state.py | 1162 | CODE | |
| LOW | yapf/yapflib/format_decision_state.py | 168 | CODE | |
| LOW | yapf/yapflib/format_decision_state.py | 852 | CODE | |
| LOW | yapf/yapflib/format_decision_state.py | 1012 | CODE | |
| LOW | yapf/yapflib/logical_line.py | 543 | CODE | |
| LOW | yapf/yapflib/reformatter.py | 36 | CODE | |
| LOW | yapf/yapflib/reformatter.py | 269 | CODE | |
| LOW | yapf/yapflib/reformatter.py | 398 | CODE | |
| LOW | yapf/yapflib/reformatter.py | 607 | CODE | |
| LOW | yapf/yapflib/reformatter.py | 718 | CODE | |
| LOW | yapf/yapflib/file_resources.py | 41 | CODE | |
| LOW | yapf/yapflib/file_resources.py | 96 | CODE | |
| LOW | yapf/yapflib/file_resources.py | 182 | CODE | |
| LOW | yapf/yapflib/file_resources.py | 195 | CODE | |
| LOW | third_party/yapf_third_party/_ylib2to3/patcomp.py | 70 | CODE | |
| LOW | third_party/yapf_third_party/_ylib2to3/patcomp.py | 141 | CODE | |
| LOW | third_party/yapf_third_party/_ylib2to3/fixer_util.py | 393 | CODE | |
| LOW | third_party/yapf_third_party/_ylib2to3/fixer_util.py | 454 | CODE | |
| LOW | third_party/yapf_third_party/_ylib2to3/pytree.py | 836 | CODE | |
| LOW | third_party/yapf_third_party/_ylib2to3/pytree.py | 588 | CODE | |
| LOW | third_party/yapf_third_party/_ylib2to3/pytree.py | 685 | CODE | |
| LOW | third_party/yapf_third_party/_ylib2to3/pytree.py | 696 | CODE | |
| LOW | third_party/yapf_third_party/_ylib2to3/pytree.py | 741 | CODE | |
| LOW | third_party/yapf_third_party/_ylib2to3/pytree.py | 786 | CODE | |
| LOW | third_party/yapf_third_party/_ylib2to3/pgen2/pgen.py | 129 | CODE | |
| LOW | third_party/yapf_third_party/_ylib2to3/pgen2/pgen.py | 181 | CODE | |
| LOW | third_party/yapf_third_party/_ylib2to3/pgen2/pgen.py | 243 | CODE | |
| LOW | third_party/yapf_third_party/_ylib2to3/pgen2/conv.py | 83 | CODE | |
| LOW | third_party/yapf_third_party/_ylib2to3/pgen2/parse.py | 269 | CODE | |
| LOW | …ird_party/yapf_third_party/_ylib2to3/pgen2/tokenize.py | 375 | CODE | |
| LOW | …ird_party/yapf_third_party/_ylib2to3/pgen2/tokenize.py | 233 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | yapftests/reformatter_python3_test.py | 16 | CODE | |
| LOW | yapftests/reformatter_basic_test.py | 16 | CODE | |
| LOW | yapftests/subtype_assigner_test.py | 20 | CODE | |
| LOW | yapftests/main_test.py | 18 | CODE | |
| LOW | yapftests/yapf_test.py | 18 | CODE | |
| LOW | yapftests/yapf_test.py | 19 | CODE | |
| LOW | yapftests/yapf_test.py | 26 | CODE | |
| LOW | yapftests/yapf_test.py | 28 | CODE | |
| LOW | yapf/pyparser/pyparser.py | 36 | CODE | |
| LOW | yapf/pyparser/split_penalty_visitor.py | 20 | CODE | |
| LOW | yapf/yapflib/logical_line.py | 26 | CODE | |
| LOW | yapf/yapflib/split_penalty.py | 15 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | yapftests/file_resources_test.py | 138 | # Create an empty .style.yapf file in test_tmpdir | COMMENT |
| MEDIUM | yapf/pytree/pytree_utils.py | 106 | # This function is tiny, but the incantation for invoking the parser correctly | COMMENT |
| MEDIUM | third_party/yapf_third_party/_ylib2to3/fixer_util.py | 305 | # The following functions are to find bindings in a suite | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | yapftests/reformatter_basic_test.py | 1547 | text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. "\\ | STRING |
| LOW⚡ | yapftests/reformatter_basic_test.py | 1547 | text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. "\\ | STRING |
| LOW⚡ | yapftests/reformatter_basic_test.py | 1551 | "Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet" | STRING |
| LOW⚡ | yapftests/reformatter_basic_test.py | 1551 | "Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet" | STRING |
| LOW | yapftests/reformatter_basic_test.py | 1604 | 'Lorem ipsum dolor sit amet, consetetur adipiscing elit. Donec a diam lectus. ' | STRING |
| LOW | yapftests/reformatter_basic_test.py | 1604 | 'Lorem ipsum dolor sit amet, consetetur adipiscing elit. Donec a diam lectus. ' | STRING |
| LOW⚡ | yapftests/reformatter_basic_test.py | 2111 | ('lorem ipsum', 'dolor sit amet'): | STRING |
| LOW⚡ | yapftests/reformatter_basic_test.py | 2111 | ('lorem ipsum', 'dolor sit amet'): | STRING |
| LOW⚡ | yapftests/reformatter_basic_test.py | 2121 | ('lorem ipsum', 'dolor sit amet'): | STRING |
| LOW⚡ | yapftests/reformatter_basic_test.py | 2121 | ('lorem ipsum', 'dolor sit amet'): | STRING |
| LOW | yapftests/reformatter_pep8_test.py | 389 | 'description': _("Lorem ipsum dolor met sit amet elit, si vis pacem para bellum " | STRING |
| LOW | yapftests/reformatter_pep8_test.py | 397 | "Lorem ipsum dolor met sit amet elit, si vis pacem para bellum " | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | yapf/__init__.py | 120 | except Exception as e: | CODE |
| LOW | yapf/__init__.py | 247 | except Exception as e: | CODE |
| LOW | yapf/pyparser/pyparser.py | 73 | except Exception: | CODE |
| LOW | yapf/yapflib/yapf_api.py | 199 | except Exception as e: | CODE |
| LOW | third_party/yapf_third_party/_ylib2to3/pgen2/pgen.py | 346 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | third_party/yapf_third_party/_ylib2to3/pgen2/parse.py | 285 | self.push(t, itsdfa, newstate, context) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | yapftests/utils.py | 45 | CODE | |
| LOW | yapf/__init__.py | 167 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | third_party/yapf_third_party/_ylib2to3/pgen2/driver.py | 15 | __all__ = ['Driver', 'load_grammar'] | CODE |
| LOW | …ird_party/yapf_third_party/_ylib2to3/pgen2/tokenize.py | 52 | __all__ = [x for x in dir(token) if x[0] != '_' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | yapf/yapflib/format_decision_state.py | 785 | # Check if the token terminates the current comprehension. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | third_party/yapf_third_party/_ylib2to3/pgen2/pgen.py | 388 | # Can't just return self.arcs == other.arcs, because that | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | yapf/pytree/pytree_visitor.py | 53 | methods can be overridden. Don't forget to invoke DefaultNodeVisit for nodes | STRING |