AI Slop Code RIsk Monitor

sqlfluff/sqlfluff

A modular SQL linter and auto-formatter with support for multiple dialects and templated code.

11.8 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for sqlfluff/sqlfluff, a Python project with 9,942 GitHub stars. SynthScan examined 248,784 lines of code across 684 source files, recording 2033 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 11.8 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

11.8
Adjusted Signal
11.8
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
9.9K
Stars
Python
Language
248.8K
Lines of Code
684
Files
2.0K
Pattern Hits
2026-10-12
Scan Date
0.26
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 27.4/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 1488 finding(s).

Hallucinated Dependency & Supply Chain Risk 5.9/100 · LOW

Are imports declared and package/API names verified? 288 finding(s).

Agent Over-Engineering Ratio 32.8/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 1263 finding(s).

PR Review Velocity Impact 46.6/100 · MEDIUM

Which changes need focused human review? 2033 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 177MEDIUM 101LOW 1755

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 2033 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers994 hits · 929 pts
SeverityFileLineSnippetContext
LOWutil.py21def _extract_whats_changed_section(release_body: str) -> str:CODE
LOWtest/conftest.py46def config_overrides_for_fixture(CODE
LOWtest/conftest.py187def _generate_test_segments_func(elems):CODE
LOWtest/conftest.py269def raise_critical_errors_after_fix(monkeypatch):CODE
LOWtest/conftest.py284def fail_on_parse_error_after_fix(monkeypatch):CODE
LOWtest/conftest.py295 def raise_error_apply_fixes_check_issue(message, *args): # pragma: no coverCODE
LOWtest/conftest.py299 def raise_error_conflicting_fixes_same_anchor(message: str): # pragma: no coverCODE
LOW⚡test/docsv_redirect_rules_test.py202def test_directory_targets_count_as_present(assemble_site, dist):CODE
LOW⚡test/docsv_redirect_rules_test.py209def test_missing_targets_can_be_downgraded_to_a_warning(assemble_site, dist):CODE
LOW⚡test/docsv_redirect_rules_test.py216def test_sphinx_builds_skip_target_validation(assemble_site, tmp_path):CODE
LOW⚡test/docsv_redirect_rules_test.py323def test_malformed_keys_are_rejected(assemble_site, tmp_path, key, expected):CODE
LOW⚡test/docsv_redirect_rules_test.py332def test_a_dotdot_target_is_rejected(assemble_site, tmp_path):CODE
LOW⚡test/docsv_redirect_rules_test.py342def test_targets_with_no_page_are_rejected(assemble_site, tmp_path, target):CODE
LOWtest/docsv_redirect_rules_test.py60def test_both_url_suffixes_are_covered(assemble_site):CODE
LOWtest/docsv_redirect_rules_test.py75def test_rules_are_version_agnostic(assemble_site):CODE
LOWtest/docsv_redirect_rules_test.py96def test_rules_are_not_forced(assemble_site):CODE
LOWtest/docsv_redirect_rules_test.py108def test_fragments_are_preserved(assemble_site):CODE
LOWtest/docsv_redirect_rules_test.py117def test_a_permalink_to_a_permalink_is_followed(assemble_site):CODE
LOWtest/docsv_redirect_rules_test.py141def test_a_permalink_cycle_is_rejected(assemble_site):CODE
LOWtest/docsv_redirect_rules_test.py147def test_rules_follow_the_root_redirects(assemble_site):CODE
LOWtest/docsv_redirect_rules_test.py161def test_no_permalink_map_leaves_the_root_redirects_alone(assemble_site):CODE
LOWtest/docsv_redirect_rules_test.py172def test_comment_keys_are_dropped(assemble_site, tmp_path):CODE
LOWtest/docsv_redirect_rules_test.py185def test_a_missing_map_is_not_fatal(assemble_site, tmp_path):CODE
LOWtest/docsv_redirect_rules_test.py190def test_a_missing_target_fails_the_publish(assemble_site, dist):CODE
LOWtest/docsv_redirect_rules_test.py254def test_every_shipped_permalink_resolves(assemble_site):CODE
LOWtest/docsv_redirect_rules_test.py295def test_malformed_targets_are_rejected(assemble_site, tmp_path, target):CODE
LOWtest/docsv_redirect_rules_test.py355def test_validation_and_rule_generation_normalise_alike(assemble_site):CODE
LOWtest/docsv_redirect_rules_test.py370def test_the_reason_an_entry_was_rejected_is_reported(assemble_site, tmp_path):CODE
LOWtest/docsv_redirect_rules_test.py382def test_the_shipped_map_loads_cleanly(assemble_site):CODE
LOWtest/generate_parse_fixture_yml.py79def _is_matching_new_criteria(example: ParseExample):CODE
LOWtest/generate_parse_fixture_yml.py95def generate_one_parse_fixture(CODE
LOW⚡test/docsv_assemble_site_test.py75def test_published_at_is_overwritten_when_supplied_on_rebuild(assemble_site):CODE
LOW⚡test/docsv_assemble_site_test.py85def test_published_at_is_absent_for_a_new_release_without_one(assemble_site):CODE
LOW⚡test/docsv_assemble_site_test.py94def test_published_at_is_not_applied_to_channels(assemble_site):CODE
LOW⚡test/docsv_assemble_site_test.py218def test_channels_sort_before_releases(assemble_site):CODE
LOW⚡test/docsv_assemble_site_test.py227def test_releases_sort_newest_first(assemble_site):CODE
LOW⚡test/docsv_assemble_site_test.py237def test_post_release_sorts_above_the_release_it_follows(assemble_site):CODE
LOW⚡test/docsv_assemble_site_test.py263def test_shorter_versions_sort_as_if_padded(assemble_site):CODE
LOW⚡test/docsv_assemble_site_test.py272def test_unparseable_keys_sort_last(assemble_site):CODE
LOW⚡test/docsv_assemble_site_test.py281def test_builder_is_recorded_on_the_entry(assemble_site):CODE
LOW⚡test/docsv_assemble_site_test.py290def test_entries_are_listed_by_default(assemble_site):CODE
LOW⚡test/docsv_assemble_site_test.py299def test_unlisted_entries_are_flagged(assemble_site):CODE
LOWtest/docsv_assemble_site_test.py52def test_published_at_is_recorded_when_supplied(assemble_site):CODE
LOWtest/docsv_assemble_site_test.py61def test_published_at_is_preserved_when_omitted_on_rebuild(assemble_site):CODE
LOWtest/docsv_assemble_site_test.py133def test_unsafe_channels_are_rejected(assemble_site, channel):CODE
LOWtest/docsv_assemble_site_test.py143def test_drive_qualified_channels_are_rejected(assemble_site):CODE
LOWtest/docsv_assemble_site_test.py161def test_real_channels_are_accepted(assemble_site, channel):CODE
LOWtest/docsv_assemble_site_test.py169def test_assemble_site_refuses_to_escape_the_output_dir(assemble_site, tmp_path):CODE
LOWtest/docsv_assemble_site_test.py194def test_rebuild_leaves_other_versions_untouched(assemble_site):CODE
LOWtest/docsv_assemble_site_test.py252def test_prereleases_sort_below_their_own_release(assemble_site):CODE
LOWtest/docsv_assemble_site_test.py318def test_shared_assets_are_republished_every_run(assemble_site, tmp_path):CODE
LOWtest/docsv_assemble_site_test.py359def test_versions_page_lists_unlisted_versions(assemble_site, tmp_path):CODE
LOWtest/docsv_assemble_site_test.py383def test_versions_page_groups_releases_by_major(assemble_site):CODE
LOWtest/docsv_assemble_site_test.py402def test_versions_page_shows_release_date_before_version(assemble_site):CODE
LOWtest/docsv_assemble_site_test.py420def test_versions_page_accepts_date_only_release_metadata(assemble_site):CODE
LOWtest/docsv_assemble_site_test.py434def test_versions_page_ignores_invalid_release_date(assemble_site, capsys):CODE
LOWtest/docsv_assemble_site_test.py461def test_headers_do_not_cache_shared_assets_immutably(assemble_site):CODE
LOWtest/docsv_assemble_site_test.py471def test_beta_headers_keep_archived_sphinx_pages_out_of_search(CODE
LOWtest/docsv_assemble_site_test.py482def test_production_indexing_keeps_only_stable_search_facing(CODE
LOWtest/docsv_assemble_site_test.py516def test_stable_html_gets_a_single_canonical_without_beta_noindex(CODE
934 more matches not shown…
Cross-File Repetition141 hits · 705 pts
SeverityFileLineSnippetContext
HIGHtest/core/parser/rust_cp01_arena_test.py0apply the rust arena detection's fixes by leaf index, return fixed sql.STRING
HIGHtest/core/parser/rust_cp03_arena_test.py0apply the rust arena detection's fixes by leaf index, return fixed sql.STRING
HIGHtest/core/parser/rust_cp04_arena_test.py0apply the rust arena detection's fixes by leaf index, return fixed sql.STRING
HIGHtest/dialects/conftest.py0test that specific segments parse as expected. nb: we're testing the parse function not the match function although thisSTRING
HIGHtest/dialects/postgres_test.py0test that specific segments parse as expected. nb: we're testing the parse function not the match function although thisSTRING
HIGHtest/dialects/ansi_test.py0test that specific segments parse as expected. nb: we're testing the parse function not the match function although thisSTRING
HIGHtest/rules/cp04_rust_dispatch_test.py0fixing through the linter is identical with use_rust_rules on vs off.STRING
HIGHtest/rules/cp01_rust_dispatch_test.py0fixing through the linter is identical with use_rust_rules on vs off.STRING
HIGHtest/rules/cp03_rust_dispatch_test.py0fixing through the linter is identical with use_rust_rules on vs off.STRING
HIGHtest/rules/cp04_rust_dispatch_test.py0ignore_words is honoured identically on the rust path.STRING
HIGHtest/rules/cp01_rust_dispatch_test.py0ignore_words is honoured identically on the rust path.STRING
HIGHtest/rules/cp03_rust_dispatch_test.py0ignore_words is honoured identically on the rust path.STRING
HIGHtest/rules/cp04_rust_dispatch_test.py0the rust detection is called when enabled, and not when disabled.STRING
HIGHtest/rules/cp01_rust_dispatch_test.py0the rust detection is called when enabled, and not when disabled.STRING
HIGHtest/rules/cp03_rust_dispatch_test.py0the rust detection is called when enabled, and not when disabled.STRING
HIGHtest/rules/cp04_rust_dispatch_test.py0ignore_words_regex isn't implemented natively -> python fallback, no call.STRING
HIGHtest/rules/cp01_rust_dispatch_test.py0ignore_words_regex isn't implemented natively -> python fallback, no call.STRING
HIGHtest/rules/cp03_rust_dispatch_test.py0ignore_words_regex isn't implemented natively -> python fallback, no call.STRING
HIGHsrc/sqlfluff/core/parser/segments/file.py0a segment representing a whole file or script. this is also the default "root" segment of the dialect, and so is usuallySTRING
HIGHsrc/sqlfluff/dialects/dialect_ansi.py0a segment representing a whole file or script. this is also the default "root" segment of the dialect, and so is usuallySTRING
HIGHsrc/sqlfluff/dialects/dialect_bigquery.py0a segment representing a whole file or script. this is also the default "root" segment of the dialect, and so is usuallySTRING
HIGHsrc/sqlfluff/core/templaters/placeholder.py0process a string and return one or more variant renderings. note that the arguments are enforced as keywords because temSTRING
HIGHsrc/sqlfluff/core/templaters/python.py0process a string and return one or more variant renderings. note that the arguments are enforced as keywords because temSTRING
HIGHsrc/sqlfluff/core/templaters/jinja.py0process a string and return one or more variant renderings. note that the arguments are enforced as keywords because temSTRING
HIGHsrc/sqlfluff/utils/functional/segment_predicates.py0defines commonly used raw file slice predicates for rule writers. for consistency, all the predicates in this module areSTRING
HIGH…ff/utils/functional/templated_file_slice_predicates.py0defines commonly used raw file slice predicates for rule writers. for consistency, all the predicates in this module areSTRING
HIGH…sqlfluff/utils/functional/raw_file_slice_predicates.py0defines commonly used raw file slice predicates for rule writers. for consistency, all the predicates in this module areSTRING
HIGHsrc/sqlfluff/utils/functional/segment_predicates.py0returns a function that determines if segment is one the types.STRING
HIGH…sqlfluff/utils/functional/raw_file_slice_predicates.py0returns a function that determines if segment is one the types.STRING
HIGH…ff/utils/functional/templated_file_slice_predicates.py0returns a function that determines if segment is one the types.STRING
HIGHsrc/sqlfluff/dialects/dialect_teradata.py0a column definition, e.g. for create table or alter table.STRING
HIGHsrc/sqlfluff/dialects/dialect_oracle.py0a column definition, e.g. for create table or alter table.STRING
HIGHsrc/sqlfluff/dialects/dialect_mysql.py0a column definition, e.g. for create table or alter table.STRING
HIGHsrc/sqlfluff/dialects/dialect_ansi.py0a column definition, e.g. for create table or alter table.STRING
HIGHsrc/sqlfluff/dialects/dialect_trino.py0a column definition, e.g. for create table or alter table.STRING
HIGHsrc/sqlfluff/dialects/dialect_teradata.py0a generic segment, to any of its child subsegments.STRING
HIGHsrc/sqlfluff/dialects/dialect_impala.py0a generic segment, to any of its child subsegments.STRING
HIGHsrc/sqlfluff/dialects/dialect_postgres.py0a generic segment, to any of its child subsegments.STRING
HIGHsrc/sqlfluff/dialects/dialect_exasol.py0a generic segment, to any of its child subsegments.STRING
HIGHsrc/sqlfluff/dialects/dialect_vertica.py0a generic segment, to any of its child subsegments.STRING
HIGHsrc/sqlfluff/dialects/dialect_ansi.py0a generic segment, to any of its child subsegments.STRING
HIGHsrc/sqlfluff/dialects/dialect_snowflake.py0a generic segment, to any of its child subsegments.STRING
HIGHsrc/sqlfluff/dialects/dialect_trino.py0a generic segment, to any of its child subsegments.STRING
HIGHsrc/sqlfluff/dialects/dialect_flink.py0a generic segment, to any of its child subsegments.STRING
HIGHsrc/sqlfluff/dialects/dialect_materialize.py0a generic segment, to any of its child subsegments.STRING
HIGHsrc/sqlfluff/dialects/dialect_greenplum.py0a generic segment, to any of its child subsegments.STRING
HIGHsrc/sqlfluff/dialects/dialect_redshift.py0a generic segment, to any of its child subsegments.STRING
HIGHsrc/sqlfluff/dialects/dialect_doris.py0a column option; each create table column can have 0 or more. https://docs.snowflake.com/en/sql-reference/sql/create-tabSTRING
HIGHsrc/sqlfluff/dialects/dialect_tsql.py0a column option; each create table column can have 0 or more. https://docs.snowflake.com/en/sql-reference/sql/create-tabSTRING
HIGHsrc/sqlfluff/dialects/dialect_mariadb.py0a column option; each create table column can have 0 or more. https://docs.snowflake.com/en/sql-reference/sql/create-tabSTRING
HIGHsrc/sqlfluff/dialects/dialect_exasol.py0a column option; each create table column can have 0 or more. https://docs.snowflake.com/en/sql-reference/sql/create-tabSTRING
HIGHsrc/sqlfluff/dialects/dialect_mysql.py0a column option; each create table column can have 0 or more. https://docs.snowflake.com/en/sql-reference/sql/create-tabSTRING
HIGHsrc/sqlfluff/dialects/dialect_ansi.py0a column option; each create table column can have 0 or more. https://docs.snowflake.com/en/sql-reference/sql/create-tabSTRING
HIGHsrc/sqlfluff/dialects/dialect_starrocks.py0a column option; each create table column can have 0 or more. https://docs.snowflake.com/en/sql-reference/sql/create-tabSTRING
HIGHsrc/sqlfluff/dialects/dialect_postgres.py0a column option; each create table column can have 0 or more. https://docs.snowflake.com/en/sql-reference/sql/create-tabSTRING
HIGHsrc/sqlfluff/dialects/dialect_vertica.py0a column option; each create table column can have 0 or more. https://docs.snowflake.com/en/sql-reference/sql/create-tabSTRING
HIGHsrc/sqlfluff/dialects/dialect_snowflake.py0a column option; each create table column can have 0 or more. https://docs.snowflake.com/en/sql-reference/sql/create-tabSTRING
HIGHsrc/sqlfluff/dialects/dialect_tsql.py0overriding statementsegment to allow for additional segment parsing.STRING
HIGHsrc/sqlfluff/dialects/dialect_hive.py0overriding statementsegment to allow for additional segment parsing.STRING
HIGHsrc/sqlfluff/dialects/dialect_athena.py0overriding statementsegment to allow for additional segment parsing.STRING
81 more matches not shown…
Unused Imports214 hits · 195 pts
SeverityFileLineSnippetContext
LOWtest/rules/std_LT01_jinja_alignment_test.py7CODE
LOW…luff-templater-dbt/sqlfluff_templater_dbt/templater.py40CODE
LOW…luff-templater-dbt/sqlfluff_templater_dbt/templater.py42CODE
LOW…luff-templater-dbt/sqlfluff_templater_dbt/templater.py43CODE
LOWplugins/sqlfluff-templater-dbt/test/templater_test.py27CODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py36CODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py37CODE
LOWdocsv/scripts/assemble-site.py4CODE
LOWdocsv/scripts/inject-shared-picker.py18CODE
LOWdocsv/scripts/smoke-check-assembled-site.py4CODE
LOWutils/rust_to_python_grammar.py17CODE
LOWsrc/sqlfluff/__init__.py12CODE
LOWsrc/sqlfluff/__init__.py12CODE
LOWsrc/sqlfluff/__init__.py12CODE
LOWsrc/sqlfluff/__init__.py12CODE
LOWsrc/sqlfluff/__init__.py12CODE
LOWsrc/sqlfluff/core/formatter.py19CODE
LOWsrc/sqlfluff/core/formatter.py20CODE
LOWsrc/sqlfluff/core/__init__.py6CODE
LOWsrc/sqlfluff/core/__init__.py9CODE
LOWsrc/sqlfluff/core/__init__.py9CODE
LOWsrc/sqlfluff/core/__init__.py12CODE
LOWsrc/sqlfluff/core/__init__.py12CODE
LOWsrc/sqlfluff/core/__init__.py12CODE
LOWsrc/sqlfluff/core/__init__.py12CODE
LOWsrc/sqlfluff/core/__init__.py12CODE
LOWsrc/sqlfluff/core/__init__.py12CODE
LOWsrc/sqlfluff/core/__init__.py22CODE
LOWsrc/sqlfluff/core/__init__.py23CODE
LOWsrc/sqlfluff/core/__init__.py23CODE
LOWsrc/sqlfluff/core/__init__.py26CODE
LOWsrc/sqlfluff/core/errors.py17CODE
LOWsrc/sqlfluff/core/errors.py17CODE
LOWsrc/sqlfluff/core/errors.py18CODE
LOWsrc/sqlfluff/core/errors.py18CODE
LOWsrc/sqlfluff/core/errors.py21CODE
LOWsrc/sqlfluff/core/errors.py21CODE
LOWsrc/sqlfluff/core/config/__init__.py12CODE
LOWsrc/sqlfluff/core/config/__init__.py13CODE
LOWsrc/sqlfluff/core/config/__init__.py13CODE
LOWsrc/sqlfluff/core/config/__init__.py13CODE
LOWsrc/sqlfluff/core/config/__init__.py13CODE
LOWsrc/sqlfluff/core/config/__init__.py13CODE
LOWsrc/sqlfluff/core/config/fluffconfig.py3CODE
LOWsrc/sqlfluff/core/config/loader.py9CODE
LOWsrc/sqlfluff/core/linter/__init__.py3CODE
LOWsrc/sqlfluff/core/linter/__init__.py4CODE
LOWsrc/sqlfluff/core/linter/__init__.py4CODE
LOWsrc/sqlfluff/core/linter/__init__.py4CODE
LOWsrc/sqlfluff/core/linter/__init__.py5CODE
LOWsrc/sqlfluff/core/linter/__init__.py6CODE
LOWsrc/sqlfluff/core/linter/__init__.py7CODE
LOWsrc/sqlfluff/core/linter/fix.py12CODE
LOWsrc/sqlfluff/core/linter/linting_result.py14CODE
LOWsrc/sqlfluff/core/linter/linter.py41CODE
LOWsrc/sqlfluff/core/linter/linter.py47CODE
LOWsrc/sqlfluff/core/linter/linter.py48CODE
LOWsrc/sqlfluff/core/linter/linter.py49CODE
LOWsrc/sqlfluff/core/plugin/hookspecs.py13CODE
LOWsrc/sqlfluff/core/parser/match_result.py15CODE
154 more matches not shown…
Deep Nesting174 hits · 167 pts
SeverityFileLineSnippetContext
LOWutil.py112CODE
LOWtest/conftest.py61CODE
LOWtest/conftest.py112CODE
LOWtest/conftest.py187CODE
LOWtest/generate_parse_fixture_yml.py26CODE
LOWtest/core/parser/parity/compare.py462CODE
LOWtest/core/parser/parity/compare.py539CODE
LOWtest/cli/commands_test.py2001CODE
LOWtest/cli/commands_test.py2184CODE
LOWtest/cli/test_parse_with_positions.py222CODE
LOWtest/cli/test_parse_with_positions.py256CODE
LOWtest/rules/std_fix_auto_test.py47CODE
LOW…luff-templater-dbt/sqlfluff_templater_dbt/templater.py634CODE
LOW…luff-templater-dbt/sqlfluff_templater_dbt/templater.py654CODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py66CODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py83CODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py504CODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py575CODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py593CODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py668CODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py687CODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py728CODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py84CODE
LOWdocsv/scripts/generate-cli-docs.py89CODE
LOWdocsv/scripts/generate-api-docs.py27CODE
LOWdocsv/scripts/generate-api-docs.py112CODE
LOWdocsv/scripts/generate-api-docs.py198CODE
LOWdocsv/scripts/generate-api-docs.py450CODE
LOWdocsv/scripts/generate-rules-docs.py209CODE
LOWdocsv/scripts/generate-rules-docs.py536CODE
LOWutils/build_parsers.py263CODE
LOWutils/build_parsers.py376CODE
LOWutils/build_parsers.py1365CODE
LOWutils/compare_parser_metrics.py104CODE
LOWutils/compare_parser_metrics.py336CODE
LOWutils/benchmark_parsing.py69CODE
LOWexamples/01_basic_api_usage.py48CODE
LOWsrc/sqlfluff/diff_quality_plugin.py54CODE
LOWsrc/sqlfluff/core/config/validate.py23CODE
LOWsrc/sqlfluff/core/config/loader.py51CODE
LOWsrc/sqlfluff/core/config/ini.py12CODE
LOWsrc/sqlfluff/core/linter/patch.py58CODE
LOWsrc/sqlfluff/core/linter/patch.py271CODE
LOWsrc/sqlfluff/core/linter/runner.py174CODE
LOWsrc/sqlfluff/core/linter/discovery.py179CODE
LOWsrc/sqlfluff/core/linter/fix.py107CODE
LOWsrc/sqlfluff/core/linter/linted_dir.py228CODE
LOWsrc/sqlfluff/core/linter/linting_result.py135CODE
LOWsrc/sqlfluff/core/linter/linter.py170CODE
LOWsrc/sqlfluff/core/linter/linter.py457CODE
LOWsrc/sqlfluff/core/linter/linter.py1141CODE
LOWsrc/sqlfluff/core/parser/match_result.py197CODE
LOWsrc/sqlfluff/core/parser/rust_parser.py190CODE
LOWsrc/sqlfluff/core/parser/context.py165CODE
LOWsrc/sqlfluff/core/parser/lexer.py496CODE
LOWsrc/sqlfluff/core/parser/lexer.py195CODE
LOWsrc/sqlfluff/core/parser/match_algorithms.py140CODE
LOWsrc/sqlfluff/core/parser/match_algorithms.py366CODE
LOWsrc/sqlfluff/core/parser/match_algorithms.py553CODE
LOWsrc/sqlfluff/core/parser/grammar/sequence.py36CODE
114 more matches not shown…
Decorative Section Separators44 hits · 161 pts
SeverityFileLineSnippetContext
MEDIUMrequirements_dev.txt4# ---------------------------COMMENT
MEDIUMrequirements_dev.txt10# --------------COMMENT
MEDIUM⚡test/core/parser/rust_parser_test.py16# ============================================================================COMMENT
MEDIUM⚡test/core/parser/rust_parser_test.py18# ============================================================================COMMENT
MEDIUM⚡test/core/parser/rust_parser_test.py62# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/core/parser/rust_parser_test.py64# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/core/parser/rust_parser_test.py69# ============================================================================COMMENT
MEDIUM⚡test/core/parser/rust_parser_test.py71# ============================================================================COMMENT
MEDIUM⚡test/core/parser/rust_parser_test.py550# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/core/parser/rust_parser_test.py552# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/core/parser/rust_parser_test.py1121# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/core/parser/rust_parser_test.py1130# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/core/parser/rust_parser_test.py632# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/core/parser/rust_parser_test.py634# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/core/parser/rust_parser_test.py693# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/core/parser/rust_parser_test.py702# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/core/parser/rust_parser_test.py950# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/core/parser/rust_parser_test.py961# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/core/parser/parity/compare.py346# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/core/parser/parity/compare.py354# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/core/parser/parity/compare.py424# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/core/parser/parity/compare.py426# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/core/parser/segments/segments_base_test.py338# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/core/parser/segments/segments_base_test.py342# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…s/sqlfluff-templater-sqlmesh/test/tier_mapping_test.py15# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…s/sqlfluff-templater-sqlmesh/test/tier_mapping_test.py17# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…s/sqlfluff-templater-sqlmesh/test/tier_mapping_test.py75# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…s/sqlfluff-templater-sqlmesh/test/tier_mapping_test.py77# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…s/sqlfluff-templater-sqlmesh/test/tier_mapping_test.py136# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…s/sqlfluff-templater-sqlmesh/test/tier_mapping_test.py138# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/sqlfluff-templater-sqlmesh/test/tier_mapping_test.py174# ---------------------------------------------------------------------------COMMENT
MEDIUM…s/sqlfluff-templater-sqlmesh/test/tier_mapping_test.py176# ---------------------------------------------------------------------------COMMENT
MEDIUMdocsv/scripts/generate-internals-docs.py38# ── per-page introductory text ────────────────────────────────────────────────COMMENT
MEDIUMdocsv/scripts/generate-internals-docs.py119# ── introspection helpers ─────────────────────────────────────────────────────STRING
MEDIUMdocsv/scripts/generate-internals-docs.py194# ── markdown rendering ────────────────────────────────────────────────────────COMMENT
MEDIUMdocsv/scripts/generate-internals-docs.py279# ── page builders ─────────────────────────────────────────────────────────────COMMENT
MEDIUMdocsv/scripts/generate-internals-docs.py387# ── sidebar config ────────────────────────────────────────────────────────────STRING
MEDIUMdocsv/scripts/generate-internals-docs.py405# ── entry point ───────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡src/sqlfluff/core/dialects/common.py78# =============================================================================COMMENT
MEDIUM⚡src/sqlfluff/core/dialects/common.py87# =============================================================================COMMENT
MEDIUM⚡src/sqlfluff/core/dialects/common.py348# =============================================================================COMMENT
MEDIUM⚡src/sqlfluff/core/dialects/common.py350# =============================================================================COMMENT
MEDIUMsrc/sqlfluff/utils/reflow/respace.py27# ---------------------------COMMENT
MEDIUMsrc/sqlfluff/utils/reflow/respace.py29# ---------------------------COMMENT
Over-Commented Block165 hits · 160 pts
SeverityFileLineSnippetContext
LOWtox.ini41 # consistent results.COMMENT
LOWtest/core/linter/linted_file_test.py121 # which should trigger the logic to ensure that the sourceCOMMENT
LOWtest/core/parser/rust_parser_test.py941 recovered a proper set_expression with both arms intact - now bothCOMMENT
LOWtest/utils/reflow/reindent_test.py401 # JOINCOMMENT
LOWtest/utils/reflow/reindent_test.py501 _IndentPoint(7, 1, 0, 1, 5, False, ()),COMMENT
LOWtest/utils/reflow/reindent_test.py541 (COMMENT
LOW…luff-templater-dbt/sqlfluff_templater_dbt/templater.py141 # This one seems to be less of an issue in testing, but I'mCOMMENT
LOW…luff-templater-dbt/sqlfluff_templater_dbt/templater.py741 # The explanation on the undefined macro error is already fairlyCOMMENT
LOW…luff-templater-dbt/sqlfluff_templater_dbt/templater.py801 # 1. Assertion errors in TemplatedFile, when it sanity checks theCOMMENT
LOW…luff-templater-dbt/sqlfluff_templater_dbt/templater.py821 # So for files that have no templated elements in them, render_funcCOMMENT
LOWdocsv/configuration/index.md61COMMENT
LOWdocsv/configuration/index.md101exclude_rules = ambiguous.column_count, structure.column_orderCOMMENT
LOWdocsv/configuration/index.md121[sqlfluff:indentation]COMMENT
LOWutils/build_parsers.py101 # specify casefoldCOMMENT
LOWutils/build_parsers.py281 # Pin the object so its id() cannot be reused by a different grammarCOMMENT
LOWexamples/01_basic_api_usage.py21# ...COMMENT
LOWexamples/03_getting_rules_and_dialects.py21# ...COMMENT
LOW.github/FUNDING.yml1# sqlfluff is free to use to improve sql in whatever context youCOMMENT
LOW.github/workflows/ci-tests.yml1#############################COMMENT
LOW.github/workflows/publish-docs.yaml101 "got '${DISPATCH_VERSION}'." >&2COMMENT
LOWsqlfluffrs/pyproject.toml1[build-system]COMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/grammar_api.rs1//! Ergonomic API for Table-Driven Grammar AccessCOMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/grammar_inst.rs1//! Table-Driven Grammar Instruction FormatCOMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/grammar_inst.rs61// pub enum ParseMode {COMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/grammar_inst.rs181///COMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/grammar_inst.rs201///COMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/grammar_inst.rs221/// - Use `exclude_idx` if HAS_EXCLUDE flag setCOMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/grammar_inst.rs241 pub parse_mode: ParseMode,COMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/identity.rs1//! Process-global unique identifiers for tokens.COMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/string.rs1//! Small string helpers shared across the workspace.COMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/parser.rs101COMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/grammar_tables.rs1//! Table-Driven Grammar StorageCOMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/grammar_tables.rs21//! Sequence(COMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/grammar_tables.rs41COMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/grammar_tables.rs61 /// Instructions index into this table via `first_terminator_idx` + `terminator_count`.COMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/grammar_tables.rs81 /// - simple_hint indices (optional)COMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/grammar_tables.rs101 /// Contains pre-computed simple hints for fast pruning of OneOf alternatives.COMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/grammar_tables.rs121COMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/token/fmt.rs1use super::Token;COMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/token/mod.rs721 }COMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/token/mod.rs741 // let mut subkeys = Vec::new();COMMENT
LOWsqlfluffrs/sqlfluffrs_types/src/token/mod.rs761 // result.insert(key, Some(serde_json::Value::Object(merged_map)));COMMENT
LOWsqlfluffrs/tests/test_delimited_terminator_timing.rs1//! Test cases to verify terminator timing behavior in Delimited grammarCOMMENT
LOWsqlfluffrs/tests/test_delimited_terminator_timing.rs21 fn test_delimited_where_terminator_matches_element() {COMMENT
LOWsqlfluffrs/tests/test_delimited_terminator_timing.rs41COMMENT
LOWsqlfluffrs/tests/test_delimited_terminator_timing.rs61 /// 5. Match "b" ✓COMMENT
LOWsqlfluffrs/sqlfluffrs_benchmarks/build.rs1//! Build script for the TPC benchmark crate.COMMENT
LOWsqlfluffrs/sqlfluffrs_benchmarks/examples/time_tpc.rs1/// time_tpc: timing and parser-stats harness for TPC-H and TPC-DS benchmarks.COMMENT
LOWsqlfluffrs/sqlfluffrs_benchmarks/benches/tpc_bench.rs1/// TPC-H and TPC-DS lex and parse benchmarks.COMMENT
LOWsqlfluffrs/sqlfluffrs_benchmarks/src/lib.rs1//! Shared helpers for the TPC-H / TPC-DS lex and parse benchmarks.COMMENT
LOWsqlfluffrs/sqlfluffrs_python/src/marker.rs101 self.0.source_str()COMMENT
LOW…luffrs/sqlfluffrs_python/src/templater/templatefile.rs21/// POINTER first (see `sqlfluffrs_types/src/marker.rs`), so one Python objectCOMMENT
LOWsqlfluffrs/sqlfluffrs_rules/src/lib.rs1//! Rust-native lint rules, run over the parse arena's public read API.COMMENT
LOWsqlfluffrs/sqlfluffrs_rules/src/cp03.rs1//! CP03 (function-name capitalisation) detection over the parse arena.COMMENT
LOWsqlfluffrs/sqlfluffrs_rules/src/capitalisation.rs1//! Shared detection logic for the capitalisation rule bundle (CP01/CP03/CP04COMMENT
LOWsqlfluffrs/sqlfluffrs_rules/src/cp01.rs1//! CP01 (keyword capitalisation) detection over the parse arena.COMMENT
LOWsqlfluffrs/sqlfluffrs_rules/src/python.rs1//! PyO3 bindings for the Rust-native rules.COMMENT
LOWsqlfluffrs/benches/baseline_phase1.rs1/// Phase 1 Baseline Benchmarks for Table-Driven Grammar MigrationCOMMENT
LOWsqlfluffrs/sqlfluffrs_dialects/build.rs1//! Cargo build script for `sqlfluffrs_dialects`.COMMENT
LOWsqlfluffrs/sqlfluffrs_dialects/build.rs21//!COMMENT
105 more matches not shown…
Empty Error Handlers24 hits · 120 pts
SeverityFileLineSnippetContext
HIGHtest/core/plugin_test.py40except KeyError:CODE
HIGHtest/core/plugin_test.py44except KeyError:CODE
HIGHtest/core/linter/linted_file_test.py263except Exception:CODE
HIGHtest/dialects/conftest.py35except TypeError:CODE
HIGHplugins/sqlfluff-templater-dbt/test/templater_test.py30except ModuleNotFoundError:CODE
HIGHdocsv/scripts/generate-internals-docs.py189except Exception:CODE
HIGHdocsv/scripts/generate-internals-docs.py149except Exception:CODE
HIGHdocsv/scripts/generate-api-docs.py166except (ValueError, TypeError):CODE
HIGHdocsv/scripts/generate-api-docs.py183except Exception:CODE
HIGHutils/build_parsers.py370except Exception:CODE
HIGHutils/build_parsers.py345except Exception:CODE
HIGHutils/benchmark_parsing.py126except Exception:CODE
HIGHsrc/sqlfluff/core/errors.py22except ImportError:CODE
HIGHsrc/sqlfluff/core/config/removed.py322except KeyError:CODE
HIGHsrc/sqlfluff/core/linter/linted_file.py430except FileNotFoundError:CODE
HIGHsrc/sqlfluff/core/parser/grammar/base.py54except KeyError:CODE
HIGHsrc/sqlfluff/core/parser/segments/base.py257except (AttributeError, KeyError): # pragma: no coverCODE
HIGHsrc/sqlfluff/core/templaters/jinja.py157except UndefinedError:CODE
HIGHsrc/sqlfluff/core/templaters/python.py768except ValueError:CODE
HIGHsrc/sqlfluff/core/templaters/python.py787except ValueError:CODE
HIGHsrc/sqlfluff/utils/reflow/rebreak.py418except UnboundLocalError:CODE
HIGHsrc/sqlfluff/utils/reflow/rebreak.py819except UnboundLocalError: # pragma: no coverCODE
HIGHsrc/sqlfluff/rules/structure/ST06.py332except (AttributeError, AssertionError):CODE
HIGHsrc/sqlfluff/rules/structure/ST06.py344except (AttributeError, AssertionError):CODE
Self-Referential Comments38 hits · 118 pts
SeverityFileLineSnippetContext
MEDIUMtest/core/parser/lexer_test.py490 # Create a mock templated fileCOMMENT
MEDIUMtest/core/parser/lexer_test.py553 # Create a mock token with an unknown typeCOMMENT
MEDIUMtest/core/parser/rust_parser_test.py313 # Create a parserCOMMENT
MEDIUMtest/core/parser/rust_parser_test.py346 # Create a parserCOMMENT
MEDIUMtest/core/parser/rust_parser_test.py380 # Create a parserCOMMENT
MEDIUMtest/core/parser/segments/segments_meta_test.py64 # Create a TemplateSegment with position markerCOMMENT
MEDIUMtest/core/templaters/jinja_test.py1762 # Create a TemplatedFile from the results. This runs some useful sanityCOMMENT
MEDIUMtest/core/templaters/jinja_test.py2059 # Create a config with dotted notation in the context sectionCOMMENT
MEDIUMtest/utils/analysis/query_test.py19 # Create a crawler from the root segment.COMMENT
MEDIUMtest/utils/reflow/reindent_test.py867 # Create a custom reflow config with the specific settingsCOMMENT
MEDIUMtest/utils/reflow/reindent_test.py880 # Create a reflow sequence with the custom configCOMMENT
MEDIUMtest/utils/reflow/reindent_test.py923 # Create a custom reflow config with:COMMENT
MEDIUMtest/utils/reflow/reindent_test.py939 # Create a reflow sequence with the custom configCOMMENT
MEDIUMtest/utils/reflow/reindent_test.py974 # Create a custom reflow config with:COMMENT
MEDIUMtest/utils/reflow/reindent_test.py990 # Create a reflow sequence with the custom configCOMMENT
MEDIUMtest/cli/commands_test.py3228 # Create a SQL file larger than the byte limit.COMMENT
MEDIUMtest/cli/commands_test.py3257 # Create a SQL file larger than the byte limit.COMMENT
MEDIUM⚡test/cli/test_parse_with_positions.py139 # Create a templated file for position trackingCOMMENT
MEDIUM⚡test/cli/test_parse_with_positions.py143 # Create an Indent meta segment with position marker at line 2COMMENT
MEDIUMplugins/sqlfluff-templater-dbt/test/templater_test.py420 # Create a real file structure with a symlink mimicking dbt local packages:COMMENT
MEDIUM…f-templater-sqlmesh/test/templater_integration_test.py203 # Create a SQL file in a temp directory that has no .sqlfluff overrideCOMMENT
MEDIUM⚡…ns/sqlfluff-templater-sqlmesh/test/integration_test.py139 # Create a basic SQLMesh project structureCOMMENT
MEDIUM⚡…ns/sqlfluff-templater-sqlmesh/test/integration_test.py143 # Create a basic config file (SQLMesh looks for config.py or config.yml)COMMENT
MEDIUMutils/build_parsers.py784 # Create a synthetic OneOf for the elementsCOMMENT
MEDIUMsrc/sqlfluff/core/parser/types.py20# Define the potential parse modes. These are used in grammarsCOMMENT
MEDIUMsrc/sqlfluff/core/parser/rust_parser.py178 # Create the Rust parserCOMMENT
MEDIUMsrc/sqlfluff/core/parser/grammar/sequence.py590 # Create the final match resultCOMMENT
MEDIUMsrc/sqlfluff/core/parser/grammar/anyof.py45 # Create an unmatched segmentCOMMENT
MEDIUMsrc/sqlfluff/core/parser/segments/base.py142 # Create a cache key on definition.COMMENT
MEDIUMsrc/sqlfluff/core/rules/loader.py20 # Create a rules dictionary for importing inCOMMENT
MEDIUMsrc/sqlfluff/core/rules/base.py706 """This method is monkey patched into a "raise" for certain tests."""STRING
MEDIUMsrc/sqlfluff/core/templaters/jinja.py1024 # Create a mapping of the original source slices before modification soCOMMENT
MEDIUMsrc/sqlfluff/core/helpers/dict.py279 # Create an empty dictionary if key not found.COMMENT
MEDIUMsrc/sqlfluff/utils/testing/logging.py58 # Create a placeholder class that will never be instantiatedCOMMENT
MEDIUMsrc/sqlfluff/dialects/dialect_ansi.py324 # The following functions can be called without parentheses per ANSI specificationCOMMENT
MEDIUMsrc/sqlfluff/rules/layout/LT08.py220 # Create a result, anchored on the start of the next content.COMMENT
MEDIUMsrc/sqlfluff/rules/convention/CV06.py419 # Create the final semi-colon if it does not yet exist.COMMENT
MEDIUMsrc/sqlfluff/rules/structure/ST06.py361 # Create a list of all the edit fixesCOMMENT
AI Slop Vocabulary39 hits · 76 pts
SeverityFileLineSnippetContext
LOWtest/core/templaters/python_test.py461 # For the render_func we just use a function which just returns theCOMMENT
LOW…luff-templater-dbt/sqlfluff_templater_dbt/templater.py742 # explanatory, so just pass it straight through.COMMENT
MEDIUMplugins/sqlfluff-templater-dbt/test/templater_test.py511 # Log the rendered file to facilitate better debugging of the files.COMMENT
MEDIUM…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py380 # more robust than the regex header split and, crucially, keepsCOMMENT
LOWdocsv/scripts/generate-dialects-docs.py60 # If no definition found, just return as plain textCOMMENT
LOW.github/workflows/create-release-pull-request.yaml84 # merged, so we just add "YYYY-MM-DD" for now as a placeholder.COMMENT
LOWsrc/sqlfluff/core/linter/discovery.py96 # to process and just return None.COMMENT
LOWsrc/sqlfluff/core/linter/discovery.py154 # Does it have a relevant extension? If not, just return an empty list.COMMENT
LOWsrc/sqlfluff/core/linter/discovery.py165 # If not ignored, just return the file.COMMENT
MEDIUMsrc/sqlfluff/core/linter/fix.py83 # Definitely valid (i.e. no conflict) if 0 or 1. In practice, thisCOMMENT
MEDIUMsrc/sqlfluff/core/linter/fix.py92 # Definitely bad if > 2.COMMENT
LOWsrc/sqlfluff/core/linter/fix.py163 # No fix matches here, just add the segment and move on.COMMENT
LOWsrc/sqlfluff/core/linter/fix.py328 # Don't any apply fixes from within this region and just return theCOMMENT
LOWsrc/sqlfluff/core/parser/match_result.py129 # If the current match is empty, just return the other.COMMENT
LOWsrc/sqlfluff/core/parser/match_result.py132 # If the same is true of the other, just return self.COMMENT
LOWsrc/sqlfluff/core/parser/match_result.py169 # If it's a failed (empty) match, then just pass straightCOMMENT
MEDIUMsrc/sqlfluff/core/parser/parser.py49 # a unique entry point to facilitate exactly this. All other segmentsCOMMENT
LOWsrc/sqlfluff/core/parser/match_algorithms.py98 # then we should just return immediately. Nothing will match.COMMENT
LOWsrc/sqlfluff/core/parser/match_algorithms.py522 # If there's either no match, or we hit a target, just pass the result.COMMENT
LOWsrc/sqlfluff/core/parser/grammar/sequence.py180 # If it's a raw meta, just add it to our list.COMMENT
LOWsrc/sqlfluff/core/parser/grammar/sequence.py332 # If it did, then just add it as a child match and we're done. Move on.COMMENT
LOWsrc/sqlfluff/core/parser/grammar/anyof.py34 # If we're being strict, just return.COMMENT
MEDIUMsrc/sqlfluff/core/templaters/jinja.py895 # The JinjaTracer slicing algorithm is more robust, but it requiresCOMMENT
LOWsrc/sqlfluff/core/templaters/python.py813 # if we don't have anything to anchor on, then just return (coalescingCOMMENT
MEDIUMsrc/sqlfluff/core/templaters/slicers/tracer.py567 # by keeping tokens as Jinja returns them, the code is more robust.COMMENT
LOWsrc/sqlfluff/core/helpers/dict.py292 # If we don't, then just set the value:COMMENT
LOWsrc/sqlfluff/utils/reflow/reindent.py1420 # If indent compensation is not needed, simply return the desired indent.COMMENT
MEDIUMsrc/sqlfluff/utils/reflow/sequence.py143 # This is to facilitate better evaluation of the ends of files.COMMENT
LOWsrc/sqlfluff/dialects/dialect_ansi.py3032 # than just add optional=True to BracketedColumnReferenceListGrammar).COMMENT
LOWsrc/sqlfluff/dialects/dialect_snowflake.py9915 # we will just use that.COMMENT
MEDIUMsrc/sqlfluff/dialects/dialect_redshift.py1738 # TODO: This logic can be streamlined. However, there are some odd parsing issues.COMMENT
LOWsrc/sqlfluff/rules/references/RF03.py327 # If it's the right kind already, just return.COMMENT
LOWsrc/sqlfluff/rules/convention/CV10.py171 # We can't just set the primary type, but we have to ensure that theSTRING
LOWsrc/sqlfluff/rules/ambiguous/AM07.py80 # set expression, just use the first query. If that first query isn'tCOMMENT
LOWsrc/sqlfluff/rules/ambiguous/AM06.py135 # If there are no column references then just returnCOMMENT
MEDIUMsrc/sqlfluff/rules/aliasing/AL09.py185 # should be done in conjunction with RF06 & CP02 (see docstring).COMMENT
MEDIUMsrc/sqlfluff/rules/structure/ST06.py380 # approach would leverage difflib.SequenceMatcher.get_opcodes(),COMMENT
MEDIUMsrc/sqlfluff/rules/structure/ST06.py384 # final application of patches (in "sqlfluff fix") more robust.COMMENT
LOWsrc/sqlfluff/rules/structure/ST11.py105 # If we can't find a reference, just return an empty stringCOMMENT
Fake / Example Data67 hits · 69 pts
SeverityFileLineSnippetContext
LOWCHANGELOG.md6322One of the biggest new features in this release is the support for SQLAlchemy and other "placeholder" templating within CODE
LOWtest/core/config/fluffconfig_test.py95 ("placeholder", PlaceholderTemplater, False),CODE
LOW⚡test/core/config/loader_test.py245 os.path.join("test", "fixtures", "config", "placeholder"),CODE
LOW⚡test/core/config/loader_test.py255 "placeholder": {CODE
LOW⚡test/core/parser/lexer_test.py244 "placeholder",CODE
LOW⚡test/core/parser/lexer_test.py247 ("", "\n select 1 as test\n", "literal", "placeholder"),CODE
LOW⚡test/core/parser/lexer_test.py249 ("", "{% endcall %}", "block_end", "placeholder"),CODE
LOW⚡test/core/parser/lexer_test.py255 "placeholder",CODE
LOW⚡test/core/parser/lexer_test.py277 ("", "{% macro render_name(title) %}", "block_start", "placeholder"),CODE
LOW⚡test/core/parser/lexer_test.py279 ("", "\n '", "literal", "placeholder"),CODE
LOW⚡test/core/parser/lexer_test.py280 ("", "{{ title }}", "templated", "placeholder"),CODE
LOW⚡test/core/parser/lexer_test.py281 ("", ". foo' as ", "literal", "placeholder"),CODE
LOW⚡test/core/parser/lexer_test.py282 ("", "{{ caller() }}", "templated", "placeholder"),CODE
LOW⚡test/core/parser/lexer_test.py283 ("", "\n", "literal", "placeholder"),CODE
LOW⚡test/core/parser/lexer_test.py285 ("", "{% endmacro %}", "block_end", "placeholder"),CODE
LOWtest/core/parser/lexer_test.py302 ("", "\n bar\n ", "literal", "placeholder"),CODE
LOWtest/core/parser/lexer_test.py304 ("", "{% endcall %}", "block_end", "placeholder"),CODE
LOWtest/core/parser/lexer_test.py389 ("", "{# comment #}", "comment", "placeholder"),CODE
LOWtest/core/parser/lexer_test.py417 ("", "", "special_type", "placeholder"),CODE
LOWtest/core/parser/lexer_test.py614 "templater": "placeholder",CODE
LOWtest/core/parser/lexer_test.py619 "placeholder": {CODE
LOWtest/core/parser/lexer_test.py702 "templater": "placeholder",CODE
LOWtest/core/parser/lexer_test.py707 "placeholder": {CODE
LOWtest/core/parser/segments/segments_meta_test.py78 assert tuple_with_pos[0] == "placeholder"CODE
LOWtest/core/templaters/jinja_test.py778 assert seg_types == ["placeholder", "end_of_file"]CODE
LOWtest/core/templaters/jinja_test.py884 seg.is_type("placeholder")CODE
LOWtest/utils/reflow/respace_test.py135 "placeholder": {CODE
LOWsqlfluffrs/sqlfluffrs_types/src/token/construction.rs275 token.token_type = Cow::Borrowed("placeholder");CODE
LOWsqlfluffrs/sqlfluffrs_types/src/token/construction.rs341class_types_static!(PLACEHOLDER_CT, "base", "raw", "meta", "placeholder");CODE
LOWsqlfluffrs/sqlfluffrs_parser/src/parser/types.rs231 MetaType::Template { .. } => "placeholder",CODE
LOWsqlfluffrs/sqlfluffrs_parser/src/parser/types.rs450 MetaType::Template { .. } => "placeholder".to_string(),CODE
LOWsqlfluffrs/sqlfluffrs_parser/src/parser/arena.rs725 MetaType::Template { .. } => "placeholder",CODE
LOW…/sqlfluffrs_parser/src/parser/table_driven/sequence.rs923 if tok.is_type(&["placeholder"]) {CODE
LOW…/sqlfluffrs_parser/src/parser/table_driven/sequence.rs948 if tok.is_type(&["placeholder"]) {CODE
LOWsrc/sqlfluff/core/linter/patch.py155 seg.is_type("placeholder")CODE
LOWsrc/sqlfluff/core/parser/grammar/sequence.py60 if segments[_idx - 1].is_type("placeholder"):CODE
LOWsrc/sqlfluff/core/parser/grammar/sequence.py71 if segments[_idx].is_type("placeholder"):CODE
LOWsrc/sqlfluff/core/parser/segments/base.py587 fwd_seg.is_type("placeholder")CODE
LOWsrc/sqlfluff/core/parser/segments/meta.py189 type = "placeholder"CODE
LOWsrc/sqlfluff/core/templaters/placeholder.py78 name = "placeholder"CODE
LOWsrc/sqlfluff/utils/reflow/reindent.py43 if not point.class_types.intersection({"newline", "placeholder"}):CODE
LOWsrc/sqlfluff/utils/reflow/reindent.py54 if seg.is_type("placeholder"):CODE
LOWsrc/sqlfluff/utils/reflow/reindent.py280 assert segment.is_type("placeholder", "template_loop")CODE
LOWsrc/sqlfluff/utils/reflow/reindent.py347 elif not _element.segments[0].is_type("placeholder"):CODE
LOWsrc/sqlfluff/utils/reflow/reindent.py380 if first_segment.is_type("placeholder"):CODE
LOWsrc/sqlfluff/utils/reflow/reindent.py412 if seg.is_type("placeholder"):CODE
LOWsrc/sqlfluff/utils/reflow/reindent.py489 if "placeholder" in elements[ip.idx + 1].class_types:CODE
LOWsrc/sqlfluff/utils/reflow/reindent.py701 if not seg.is_type("placeholder"):CODE
LOWsrc/sqlfluff/utils/reflow/reindent.py750 if not seg.is_type("placeholder"):CODE
LOWsrc/sqlfluff/utils/reflow/reindent.py1028 "placeholder" in elements[idx + 1].class_typesCODE
LOWsrc/sqlfluff/utils/reflow/reindent.py1256 if elements[0].segments[0].is_type("placeholder"):CODE
LOWsrc/sqlfluff/utils/reflow/reindent.py1278 if indent_seg.is_type("placeholder"):CODE
LOWsrc/sqlfluff/utils/reflow/reindent.py1372 if init_seg.is_type("placeholder"):CODE
LOWsrc/sqlfluff/utils/reflow/reindent.py1624 if elements[ip.idx + 1 :] and "placeholder" in elements[ip.idx + 1].class_types:CODE
LOWsrc/sqlfluff/utils/reflow/reindent.py1629 if seg.is_type("placeholder")CODE
LOWsrc/sqlfluff/utils/reflow/elements.py51 if not segment or not segment.is_type("placeholder"):CODE
LOWsrc/sqlfluff/utils/reflow/elements.py115 "whitespace", "placeholder", "newline", "indent", "template_loop"CODE
LOWsrc/sqlfluff/utils/reflow/elements.py444 if indent_seg and indent_seg.is_type("placeholder"):CODE
LOWsrc/sqlfluff/utils/reflow/elements.py622 if before.is_type("placeholder")CODE
LOWsrc/sqlfluff/utils/reflow/elements.py635 if after.is_type("placeholder")CODE
7 more matches not shown…
Redundant / Tautological Comments31 hits · 47 pts
SeverityFileLineSnippetContext
LOWtest/core/errors_test.py42 # Set ignore to true if configured.COMMENT
LOWtest/core/errors_test.py57 # Set ignore to true if configured.COMMENT
LOWtest/core/errors_test.py72 # Set ignore to true if configured.COMMENT
LOW⚡test/dialects/conftest.py113 # Check if all child segments are the correct typeCOMMENT
LOWutils/build_parsers.py1213 # Check if this is an implicit indentCOMMENT
LOWutils/build_parsers.py1253 # Check if this is an implicit indentCOMMENT
LOWutils/build_parsers.py1751 # Check if this is a Segment class (has a 'type' attribute)COMMENT
LOWutils/micro_benchmark_small.py83 # Check if lexing dominatesCOMMENT
LOWexamples/02_timing_api_steps.py16 # Output the resultCOMMENT
LOWsrc/sqlfluff/diff_quality_plugin.py56 # Check if SQLFluff is installed.COMMENT
LOWsrc/sqlfluff/core/default_config.cfg62# Set either to 0 to disable.COMMENT
LOWsrc/sqlfluff/core/parser/rust_parser.py732 # Check if segment has _rstoken attribute (cached original token)COMMENT
LOWsrc/sqlfluff/core/parser/grammar/sequence.py564 # Check if we've run out of segmentsCOMMENT
LOWsrc/sqlfluff/core/parser/grammar/anyof.py226 # Check if we have matched an option too many times.COMMENT
LOWsrc/sqlfluff/utils/reflow/respace.py293 # Check if we've just passed whitespace. If we have, remove itCOMMENT
LOWsrc/sqlfluff/cli/commands.py792 # Output the results as we goCOMMENT
LOWsrc/sqlfluff/rules/layout/LT08.py109 # Check if the next code segment is CYCLE or SEARCHCOMMENT
LOWsrc/sqlfluff/rules/layout/LT09.py326 # Check if the modifier is one we care aboutCOMMENT
LOWsrc/sqlfluff/rules/oracle/OR01.py60 # Check if batch contains only slash_buffer_executor statementCOMMENT
LOWsrc/sqlfluff/rules/tsql/TQ03.py66 # Check if batch contains only GO statementCOMMENT
LOWsrc/sqlfluff/rules/tsql/TQ02.py93 # Check if the first statement is already a begin_end_blockCOMMENT
LOWsrc/sqlfluff/rules/tsql/TQ02.py159 # Check if there's a statement_terminator after the last statementCOMMENT
LOWsrc/sqlfluff/rules/convention/CV06.py354 # Check if this code segment contains the last statementCOMMENT
LOWsrc/sqlfluff/rules/convention/CV06.py372 # Check if there's a semicolon terminator after the last statementCOMMENT
LOWsrc/sqlfluff/rules/aliasing/AL10.py49 # Check if this FROM expression contains a derived table.COMMENT
LOWsrc/sqlfluff/rules/structure/ST02.py246 # Check if the comparison is to NULL or NOT NULL.COMMENT
LOWsrc/sqlfluff/rules/structure/ST02.py313 # Check if we can reduce the CASE expression to a single coalesceCOMMENT
LOWsrc/sqlfluff/rules/structure/ST06.py74 # Check if the view has an explicit column listCOMMENT
LOWsrc/sqlfluff/rules/structure/ST06.py78 # Check if this bracketed segment contains column referencesCOMMENT
LOWsrc/sqlfluff/rules/structure/ST06.py189 # Check if we've seen a more complex select target element alreadyCOMMENT
LOWsrc/sqlfluff/rules/structure/ST09.py332 # Check if list is made up of a qualified column_reference segment,COMMENT
Excessive Try-Catch Wrapping38 hits · 42 pts
SeverityFileLineSnippetContext
LOWtest/generate_parse_fixture_yml.py104 except Exception as err:CODE
LOWtest/core/linter/linted_file_test.py263 except Exception:CODE
LOW⚡test/core/parser/parity/compare.py414 except Exception:CODE
LOWtest/api/simple_test.py493 except Exception as err:CODE
LOW…luff-templater-dbt/sqlfluff_templater_dbt/templater.py131 except Exception as err:CODE
LOW…luff-templater-dbt/sqlfluff_templater_dbt/templater.py744 except Exception as err:CODE
LOWplugins/sqlfluff-templater-dbt/test/templater_test.py593 except Exception as e:CODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py88 except Exception as err:CODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py263 except Exception: # pragma: no cover - defensiveCODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py303 except Exception as err:CODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py790 except Exception as err: # pragma: no cover - defensiveCODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py803 except Exception:CODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py810 except Exception as err:CODE
LOW…plater-sqlmesh/sqlfluff_templater_sqlmesh/templater.py830 except Exception as err:CODE
LOWdocsv/scripts/generate-internals-docs.py149 except Exception:CODE
LOWdocsv/scripts/generate-internals-docs.py189 except Exception:CODE
LOWdocsv/scripts/generate-api-docs.py46 except Exception:CODE
LOWdocsv/scripts/generate-api-docs.py183 except Exception:CODE
LOWutils/build_parsers.py345 except Exception:CODE
LOWutils/build_parsers.py370 except Exception:CODE
MEDIUMutils/benchmark_parser.py198 print(f"Error: File not found: {args.file}", file=sys.stderr)CODE
MEDIUMutils/benchmark_parsing.py56 print(f"Error: Dialect '{dialect}' not found in fixtures")CODE
LOWutils/benchmark_parsing.py94 except Exception as e:CODE
LOWutils/benchmark_parsing.py126 except Exception:CODE
LOWutils/benchmark_parsing.py164 except Exception as e:CODE
MEDIUMutils/benchmark_parsing.py638 print("Error: Specify --dialect <name> or --all-dialects")CODE
MEDIUMsrc/sqlfluff/diff_quality_plugin.py69 print(f"Error parsing JSON output ({e}): {repr(o)}")CODE
LOWsrc/sqlfluff/core/linter/runner.py134 except Exception as e:CODE
LOWsrc/sqlfluff/core/linter/runner.py207 except Exception as e:CODE
LOWsrc/sqlfluff/core/linter/runner.py255 except Exception as e:CODE
LOWsrc/sqlfluff/core/linter/discovery.py60 except Exception:CODE
LOWsrc/sqlfluff/core/plugin/host.py70 except Exception as err:CODE
LOWsrc/sqlfluff/core/rules/base.py562 except Exception as e:CODE
LOWsrc/sqlfluff/core/rules/base.py624 except Exception as e:CODE
LOWsrc/sqlfluff/core/templaters/jinja.py819 except Exception as err:CODE
LOWsrc/sqlfluff/core/templaters/jinja.py1081 except Exception:CODE
LOWsrc/sqlfluff/cli/commands.py88 except Exception as e:CODE
LOWsrc/sqlfluff/cli/commands.py109 except Exception: # pragma: no coverCODE
Cross-Language Confusion7 hits · 38 pts
SeverityFileLineSnippetContext
HIGHsrc/sqlfluff/core/linter/linter.py278 "cd sqlfluffrs && maturin develop --features python"CODE
HIGHsrc/sqlfluff/core/parser/match_result.py58 # NOTE: If this is null, it means we've matched a sequence of segmentsCOMMENT
HIGHsrc/sqlfluff/cli/commands.py1120 # If some failed then return falseCOMMENT
HIGHsrc/sqlfluff/dialects/dialect_tsql_keywords.py12 null,CODE
HIGHsrc/sqlfluff/rules/aliasing/AL09.py164 # We *should* expect all of these to be non-null, but some bugCOMMENT
HIGHsrc/sqlfluff/rules/capitalisation/CP04.py29 null,STRING
HIGHsrc/sqlfluff/rules/capitalisation/CP04.py52 null,STRING
Structural Annotation Overuse18 hits · 31 pts
SeverityFileLineSnippetContext
LOWtest/core/parser/grammar/grammar_sequence_test.py520 # NOTE: This functionality doesn't get used much.COMMENT
LOWplugins/sqlfluff-templater-dbt/test/linter_test.py48 # NOTE: This method is called within the config readout.COMMENT
LOW⚡docsv/scripts/generate-all-docs.py53 # Step 1: Generate rule documentationCOMMENT
LOW⚡docsv/scripts/generate-all-docs.py62 # Step 2: Generate dialect documentationCOMMENT
LOW⚡docsv/scripts/generate-all-docs.py71 # Step 3: Generate CLI documentationCOMMENT
LOW⚡docsv/scripts/generate-all-docs.py80 # Step 4: Generate API documentationCOMMENT
LOW⚡docsv/scripts/generate-all-docs.py89 # Step 5: Generate internal API documentationCOMMENT
LOWsrc/sqlfluff/core/parser/match_algorithms.py523 # NOTE: This method returns the same as `next_match` in a "no match"COMMENT
LOWsrc/sqlfluff/core/dialects/__init__.py105 # NOTE: The result of .expand() is a new class.COMMENT
LOWsrc/sqlfluff/utils/reflow/reindent.py898 # NOTE: The following line should never lead to an index errorCOMMENT
LOWsrc/sqlfluff/utils/reflow/elements.py818 # NOTE: This method operates on the existing fix buffer.COMMENT
LOWsrc/sqlfluff/cli/commands.py847 # NOTE: The output format is designed for this GitHub action:COMMENT
LOWsrc/sqlfluff/cli/commands.py891 # NOTE: The output format is designed for GitHub action:COMMENT
LOWsrc/sqlfluff/dialects/AGENTS.md189### Step 1: Create Test SQL FilesCOMMENT
LOWsrc/sqlfluff/dialects/AGENTS.md213### Step 2: Generate Expected Parse TreesCOMMENT
LOWsrc/sqlfluff/dialects/AGENTS.md228### Step 3: Implement GrammarCOMMENT
LOWsrc/sqlfluff/dialects/AGENTS.md254### Step 4: Regenerate and VerifyCOMMENT
LOWsrc/sqlfluff/dialects/AGENTS.md277### Step 5: Run Full Test SuiteCOMMENT
Docstring Block Structure4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHsrc/sqlfluff/AGENTS.md61Short one-line description. Longer description explaining the purpose, behavior, and usage. Can span multiple lSTRING
HIGHsrc/sqlfluff/core/templaters/jinja.py174Take a path and extract macros from it. Args: path (list[str]): A list of paths. env (ESTRING
HIGHsrc/sqlfluff/core/templaters/jinja.py745Process a string and return the new string. Note that the arguments are enforced as keywords because TeSTRING
HIGHsrc/sqlfluff/core/templaters/base.py553Process a string and return a TemplatedFile. Note that the arguments are enforced as keywords because TemplaterSTRING
Verbosity Indicators6 hits · 13 pts
SeverityFileLineSnippetContext
LOW⚡docsv/scripts/generate-all-docs.py53 # Step 1: Generate rule documentationCOMMENT
LOW⚡docsv/scripts/generate-all-docs.py62 # Step 2: Generate dialect documentationCOMMENT
LOW⚡docsv/scripts/generate-all-docs.py71 # Step 3: Generate CLI documentationCOMMENT
LOW⚡docsv/scripts/generate-all-docs.py80 # Step 4: Generate API documentationCOMMENT
LOW⚡docsv/scripts/generate-all-docs.py89 # Step 5: Generate internal API documentationCOMMENT
LOWsrc/sqlfluff/rules/tsql/TQ02.py156 # so we need to check if there's a terminator after the last statementCOMMENT
AI Structural Patterns12 hits · 12 pts
SeverityFileLineSnippetContext
LOWdocsv/scripts/assemble-site.py921CODE
LOWsrc/sqlfluff/core/linter/linter.py1141CODE
LOWsrc/sqlfluff/core/parser/grammar/delimited.py38CODE
LOWsrc/sqlfluff/core/parser/grammar/anyof.py67CODE
LOWsrc/sqlfluff/core/parser/grammar/anyof.py311CODE
LOWsrc/sqlfluff/core/parser/segments/raw.py48CODE
LOWsrc/sqlfluff/core/parser/segments/keyword.py20CODE
LOWsrc/sqlfluff/core/templaters/jinja.py1256CODE
LOWsrc/sqlfluff/cli/formatters.py400CODE
LOWsrc/sqlfluff/cli/commands.py718CODE
LOWsrc/sqlfluff/cli/commands.py1431CODE
LOWsrc/sqlfluff/cli/commands.py1547CODE
Modern Structural Boilerplate10 hits · 10 pts
SeverityFileLineSnippetContext
LOWsrc/sqlfluff/diff_quality_plugin.py19logger = logging.getLogger(__name__)CODE
LOWsrc/sqlfluff/core/config/fluffconfig.py622 def set_value(self, config_path: Iterable[str], val: Any) -> None:CODE
LOWsrc/sqlfluff/core/parser/rust_parser.py56def set_profiling(enabled: bool) -> None:CODE
LOWsrc/sqlfluff/core/parser/rust_parser.py101def set_native_ast(enabled: bool) -> None:CODE
LOWsrc/sqlfluff/core/parser/context.py319 def update_progress(self, char_idx: int) -> None:CODE
LOWsrc/sqlfluff/core/parser/segments/raw.py377__all__ = [CODE
LOWsrc/sqlfluff/core/parser/segments/base.py806 def set_as_parent(self, recurse: bool = True) -> None:CODE
LOWsrc/sqlfluff/core/parser/segments/base.py814 def set_parent(self, parent: BaseSegment, idx: int) -> None:CODE
LOWsrc/sqlfluff/core/dialects/__init__.py109__all__ = [CODE
LOWsrc/sqlfluff/core/dialects/base.py333 def set_lexer_matchers(self, lexer_matchers: list[LexerType]) -> None:CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsrc/sqlfluff/rules/structure/ST10.py59 # often included in auto-generated code.COMMENT
Slop Phrases4 hits · 6 pts
SeverityFileLineSnippetContext
LOW.pre-commit-config.yaml7 # If adding any exceptions here, make sure to add them to .editorconfig as wellCOMMENT
LOW.pre-commit-config.yaml40 # `requirements_dev.txt`. If you update these, make sure to update those too.COMMENT
MEDIUMexamples/06_full_parse_api.py57# siblings of the parent, you can use .recursive_crawl().STRING
LOWsrc/sqlfluff/core/linter/fix.py267 # If we fail to validate a child segment, make sure to validate thisCOMMENT
Modern AI Meta-Vocabulary2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMsqlfluffrs/ENGINE.md120 └── utils/rustify.py build # orchestrates, emits RustCODE
MEDIUMsqlfluffrs/sqlfluffrs_python/src/lib.rs1//! sqlfluffrs_python: scaffold for Python-facing bindingsCOMMENT