sqlclean 0.3.0__tar.gz → 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sqlclean-0.4.0/.release-please-manifest.json +3 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/CHANGELOG.md +7 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/Cargo.lock +2 -2
- {sqlclean-0.3.0 → sqlclean-0.4.0}/Cargo.toml +1 -1
- {sqlclean-0.3.0 → sqlclean-0.4.0}/PKG-INFO +2 -2
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/_helpers/engine.rs +4 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/models.rs +3 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/_helpers/literals.rs +8 -10
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/models.rs +2 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/tests/helpers.rs +20 -1
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/tests/test_quality_rules.rs +41 -9
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/tests/test_types.rs +3 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/embedding.md +1 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/packages/sqlclean-cli/pyproject.toml +1 -1
- {sqlclean-0.3.0 → sqlclean-0.4.0}/pyproject.toml +2 -2
- {sqlclean-0.3.0 → sqlclean-0.4.0}/uv.lock +2 -2
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/embedding.mdx +1 -0
- sqlclean-0.3.0/.release-please-manifest.json +0 -3
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.github/RELEASING.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.github/demos/check-fix.gif +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.github/scripts/assert_cli_wheel_tags.sh +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.github/scripts/classify_changes.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.github/scripts/release_metadata_check.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.github/scripts/simulate_release.sh +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.github/sqlclean-logo-dark.png +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.github/sqlclean-logo-light.png +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.github/sqlclean-logo.png +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.github/workflows/publish.yml +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.github/workflows/pull-request-metadata.yml +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.github/workflows/release-please.yml +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.github/workflows/verify.yml +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.github/workflows/version-guard.yml +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.github/workflows/website.yml +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.gitignore +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.pre-commit-config.yaml +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.pre-commit-hooks.yaml +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/.python-version +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/LICENSE +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/Makefile +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/README.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/benchmarks/linters/README.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/benchmarks/linters/bench.sh +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/benchmarks/linters/convert_duckshop.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/benchmarks/linters/rules/layers.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/benchmarks/linters/summarize.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/Cargo.toml +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/constants.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/lib.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_facts/_helpers/collection.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_facts/_helpers/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_facts/_helpers/statements.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_facts/_helpers/tokens.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_facts/main/file_facts.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_facts/main/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_facts/main/statement_ends.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_facts/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_facts/models.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_facts/tests/helpers.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_facts/tests/test_file_facts.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_facts/tests/test_types.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_facts/tests.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/_helpers/additional.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/_helpers/formatter.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/_helpers/formatter_syntax.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/_helpers/inline_relations.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/_helpers/join_predicates.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/_helpers/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/_helpers/parsing.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/_helpers/printed_layout.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/_helpers/terminal_shape.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/_helpers/token_layout.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/constants.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/main/batch_engine.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/main/catalogue.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/main/cross_join_subject.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/main/default_rules.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/main/engine.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/main/fill_finding_path.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/main/format_requests.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/main/formatter.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/main/lint.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/main/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/main/parse_sql.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/main/validate_dialect.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/fixtures/FORMAT_CORPUS_NOTICE.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/fixtures/format_corpus.json +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/helpers.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_authored_tokens.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_batch_lint.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_comment_formatter.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_cross_joins.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_empty_fixture_lint.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_format_corpus.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_function_call_spacing.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_idempotency_reprint.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_layout_rules.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_line_wrap.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_lint_exemptions.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_set_operation_formatter.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_sql_lint.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_types.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_unused_table_alias.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_values_formatter.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/_helpers/cte_columns.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/_helpers/json_parses.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/_helpers/keys.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/_helpers/ranking.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/_helpers/removal_safety.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/_helpers/safety.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/_helpers/setting_help.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/_helpers/syntax.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/constants.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/main/diagnostics.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/main/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/tests/test_json_parses.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/tests/test_quality_scale.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/tests/test_safety_rules.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/tests.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/types.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/_helpers/builtin_functions.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/_helpers/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/_helpers/reserved_keywords.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/_helpers/token_context.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/constants.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/main/builtin_function_names.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/main/canonical_tokens.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/main/case_folding.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/main/is_unquoted_word.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/main/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/main/name_positions.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/main/projection_spans.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/main/query_fingerprint.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/main/token_texts.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/models.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/reserved_keywords/bigquery.txt +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/reserved_keywords/databricks.txt +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/reserved_keywords/duckdb.txt +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/reserved_keywords/generic.txt +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/reserved_keywords/postgres.txt +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/reserved_keywords/snowflake.txt +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/reserved_keywords/tsql.txt +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/tests/test_canonical_tokens.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/tests/test_types.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_tokens/tests.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/Cargo.toml +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/build.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/SKILL.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/CONTENTS.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/benchmarks.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/cli/check.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/cli/facts.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/cli/fix.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/cli/format.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/cli/rules.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/cli/skills.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/configuration.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/custom-rules/fixes-and-options.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/custom-rules/overview.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/custom-rules/statement-facts.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/custom-rules/testing.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/formatting.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/index.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/integrations.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/quickstart.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/rules/overview.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/skill/references/docs/rules/reference.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/caching/_helpers/entries.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/caching/_helpers/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/caching/constants.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/caching/main/cache_key.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/caching/main/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/caching/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/caching/models.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/caching/tests/test_result_cache.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/caching/tests/test_types.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/caching/tests.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/checking/_helpers/builtin.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/checking/_helpers/catalogue.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/checking/_helpers/custom.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/checking/_helpers/exemptions.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/checking/_helpers/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/checking/_helpers/orchestration.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/checking/_helpers/selection.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/checking/constants.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/checking/main/check_sources.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/checking/main/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/checking/main/rule_catalogue.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/checking/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/checking/models.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/command/_helpers/check_command.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/command/_helpers/diffs.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/command/_helpers/dispatch.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/command/_helpers/facts_command.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/command/_helpers/fix_command.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/command/_helpers/format_command.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/command/_helpers/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/command/_helpers/rules_command.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/command/_helpers/skills_command.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/command/constants.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/command/main/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/command/main/run.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/command/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/command/models.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/config/_helpers/file_schema.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/config/_helpers/loading.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/config/_helpers/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/config/_helpers/validation.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/config/constants.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/config/main/load_config.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/config/main/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/config/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/config/models.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/config/tests/test_load_config.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/config/tests/test_types.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/config/tests.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/discovery/_helpers/matching.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/discovery/_helpers/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/discovery/_helpers/walking.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/discovery/main/discover_files.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/discovery/main/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/discovery/main/path_patterns.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/discovery/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/discovery/models.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/discovery/tests/test_discover_files.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/discovery/tests/test_types.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/discovery/tests.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/fixing/_helpers/edit_selection.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/fixing/_helpers/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/fixing/_helpers/passes.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/fixing/constants.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/fixing/main/fix_sources.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/fixing/main/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/fixing/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/fixing/models.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/fixing/tests/helpers.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/fixing/tests/test_edit_selection.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/fixing/tests/test_types.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/fixing/tests.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/formatting/constants.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/formatting/main/format_source.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/formatting/main/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/formatting/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/hosting/_helpers/interpreter.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/hosting/_helpers/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/hosting/_helpers/process.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/hosting/constants.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/hosting/main/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/hosting/main/run_host.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/hosting/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/hosting/models.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/lib.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/main.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/positions/main/apply_edits.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/positions/main/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/positions/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/positions/models.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/positions/tests/test_positions.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/positions/tests/test_types.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/positions/tests.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/reporting/_helpers/location.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/reporting/_helpers/machine.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/reporting/_helpers/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/reporting/_helpers/text.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/reporting/main/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/reporting/main/render_findings.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/reporting/mod.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean-cli/src/reporting/models.rs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/fensu.toml +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/packages/sqlclean-cli/README.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/release-please-config.json +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/scripts/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/scripts/check_docs_skill.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/scripts/docs_skill/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/scripts/docs_skill/_helpers/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/scripts/docs_skill/_helpers/mdx.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/scripts/docs_skill/_helpers/navigation.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/scripts/docs_skill/_helpers/output.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/scripts/docs_skill/_helpers/render.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/scripts/docs_skill/constants.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/scripts/docs_skill/main/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/scripts/docs_skill/main/check.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/scripts/docs_skill/main/generate.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/scripts/docs_skill/models.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/scripts/generate_docs_skill.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/hosting/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/hosting/_helpers/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/hosting/_helpers/evaluation.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/hosting/_helpers/loading.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/hosting/_helpers/requests.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/hosting/_helpers/sql_files.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/hosting/constants.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/hosting/exceptions.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/hosting/main/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/hosting/main/build_sql_file.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/hosting/main/evaluate_definition.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/hosting/main/serve.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/py.typed +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rule_testing/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rule_testing/_helpers/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rule_testing/_helpers/harness.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rule_testing/_helpers/native_facts.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rule_testing/constants.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rule_testing/exceptions.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rule_testing/main/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rule_testing/main/evaluate_rule.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rule_testing/models.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rules/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rules/_helpers/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rules/_helpers/definition.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rules/classes/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rules/classes/rule_context.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rules/classes/rule_option.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rules/constants.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rules/exceptions.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rules/main/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rules/main/define.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rules/models.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/rules/types.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/src/sqlclean/testing.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/e2e/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/e2e/src/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/e2e/src/sqlclean/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/e2e/src/sqlclean/hosting/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/e2e/src/sqlclean/hosting/_test_types.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/e2e/src/sqlclean/hosting/helpers.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/e2e/src/sqlclean/hosting/test_sqlclean_command.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/integration/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/integration/src/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/integration/src/sqlclean/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/integration/src/sqlclean/rule_testing/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/integration/src/sqlclean/rule_testing/_test_types.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/integration/src/sqlclean/rule_testing/helpers.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/integration/src/sqlclean/rule_testing/test_evaluate_rule.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/integration/src/sqlclean/rule_testing/test_readme_rule.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/unit/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/unit/src/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/unit/src/sqlclean/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/unit/src/sqlclean/rules/__init__.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/unit/src/sqlclean/rules/_test_types.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/unit/src/sqlclean/rules/helpers.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/tests/unit/src/sqlclean/rules/test_rule_definition.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/.gitignore +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/README.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/STYLE.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/astro.config.mjs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/package-lock.json +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/package.json +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/public/assets/icon.png +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/public/assets/logo-dark.png +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/public/assets/logo-light.png +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/public/assets/og-icon.png +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/public/assets/og-sqlclean-docs.png +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/public/assets/og-sqlclean.png +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/public/favicon.png +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/public/favicon.svg +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/public/fonts/LICENSE-DejaVu.txt +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/public/fonts/LICENSE-IBM-Plex-Mono.txt +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/public/fonts/LICENSE-Inter.txt +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/public/fonts/dejavu-sans-mono-diagram.woff2 +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/public/fonts/ibm-plex-mono-latin-400-normal.woff2 +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/public/fonts/ibm-plex-mono-latin-500-normal.woff2 +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/public/fonts/inter-latin-wght-normal.woff2 +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/public/index.html +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/public/styles.css +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/recordings/.gitignore +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/recordings/README.md +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/recordings/prepare.sh +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/recordings/record.sh +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/recordings/tapes/check-fix.tape +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/recordings/tapes/common.tape +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/scripts/check_links.py +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/assets/logo-dark.png +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/assets/logo-light.png +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/code-themes.mjs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/components/Header.astro +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/components/PageFrame.astro +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/components/PageTitle.astro +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/components/Pagination.astro +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/components/SiteTitle.astro +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/components/ThemeSelect.astro +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/components/TwoColumnContent.astro +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/components/docs/Card.astro +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/components/docs/CardGroup.astro +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/components/docs/Frame.astro +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/components/docs/Note.astro +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/components/docs/Warning.astro +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/benchmarks.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/cli/check.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/cli/facts.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/cli/fix.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/cli/format.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/cli/rules.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/cli/skills.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/configuration.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/custom-rules/fixes-and-options.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/custom-rules/overview.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/custom-rules/statement-facts.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/custom-rules/testing.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/formatting.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/index.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/integrations.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/quickstart.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/rules/overview.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content/docs/docs/rules/reference.mdx +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/content.config.ts +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/navigation.mjs +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/sidebar.json +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/styles/fonts.css +0 -0
- {sqlclean-0.3.0 → sqlclean-0.4.0}/website/src/styles/sqlclean.css +0 -0
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.4.0](https://github.com/sqlstack-io/sqlclean/compare/v0.3.0...v0.4.0) (2026-10-31)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **rules:** let a host supply the SQLCLEAN044 guidance ([#20](https://github.com/sqlstack-io/sqlclean/issues/20)) ([ae670ed](https://github.com/sqlstack-io/sqlclean/commit/ae670ed5a781a47e225122f60d4623f75915a3e2))
|
|
9
|
+
|
|
3
10
|
## [0.3.0](https://github.com/sqlstack-io/sqlclean/compare/v0.2.0...v0.3.0) (2026-10-31)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -619,7 +619,7 @@ checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa"
|
|
|
619
619
|
|
|
620
620
|
[[package]]
|
|
621
621
|
name = "sqlclean"
|
|
622
|
-
version = "0.
|
|
622
|
+
version = "0.4.0"
|
|
623
623
|
dependencies = [
|
|
624
624
|
"polyglot-sql",
|
|
625
625
|
"polyglot-sql-function-catalogs",
|
|
@@ -632,7 +632,7 @@ dependencies = [
|
|
|
632
632
|
|
|
633
633
|
[[package]]
|
|
634
634
|
name = "sqlclean-cli"
|
|
635
|
-
version = "0.
|
|
635
|
+
version = "0.4.0"
|
|
636
636
|
dependencies = [
|
|
637
637
|
"clap",
|
|
638
638
|
"globset",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: sqlclean
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: Fast, opinionated SQL linting and deterministic formatting, with custom Rules in Python
|
|
5
5
|
Project-URL: Homepage, https://github.com/sqlstack-io/sqlclean
|
|
6
6
|
Project-URL: Issues, https://github.com/sqlstack-io/sqlclean/issues
|
|
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Rust
|
|
|
17
17
|
Classifier: Programming Language :: SQL
|
|
18
18
|
Classifier: Topic :: Software Development :: Quality Assurance
|
|
19
19
|
Requires-Python: >=3.12
|
|
20
|
-
Requires-Dist: sqlclean-cli==0.
|
|
20
|
+
Requires-Dist: sqlclean-cli==0.4.0
|
|
21
21
|
Provides-Extra: ast
|
|
22
22
|
Requires-Dist: polyglot-sql-chio==0.13.10; extra == 'ast'
|
|
23
23
|
Description-Content-Type: text/markdown
|
|
@@ -450,6 +450,10 @@ pub(crate) fn lint(request: LintRequest) -> Result<LintResponse, String> {
|
|
|
450
450
|
.config_file
|
|
451
451
|
.as_deref()
|
|
452
452
|
.unwrap_or(crate::constants::DEFAULT_CONFIG_FILE),
|
|
453
|
+
long_literal_guidance: request
|
|
454
|
+
.long_literal_guidance
|
|
455
|
+
.as_deref()
|
|
456
|
+
.unwrap_or(crate::sql_quality::constants::LONG_LITERAL_GUIDANCE),
|
|
453
457
|
},
|
|
454
458
|
)?);
|
|
455
459
|
diagnostics.sort_by_key(|diagnostic| (diagnostic.start, diagnostic.end, diagnostic.code));
|
|
@@ -96,6 +96,9 @@ pub struct LintRequest {
|
|
|
96
96
|
/// The configuration file remediation text names; SQLClean's own when absent.
|
|
97
97
|
#[serde(default)]
|
|
98
98
|
pub config_file: Option<String>,
|
|
99
|
+
/// The advice `SQLCLEAN044` gives before its limit setting; SQLClean's own when absent.
|
|
100
|
+
#[serde(default)]
|
|
101
|
+
pub long_literal_guidance: Option<String>,
|
|
99
102
|
}
|
|
100
103
|
|
|
101
104
|
/// The generated wrapper around a test or macro body: its terminal SELECT is ceremonial, and these names are generated.
|
|
@@ -6,7 +6,7 @@ use polyglot_sql::tokens::TokenType;
|
|
|
6
6
|
|
|
7
7
|
use crate::sql_lint::models::LintDiagnostic;
|
|
8
8
|
use crate::sql_quality::constants::{
|
|
9
|
-
LONG_LITERAL,
|
|
9
|
+
LONG_LITERAL, MAX_LITERAL_LENGTH_KEY, RULES_THRESHOLDS_SECTION,
|
|
10
10
|
};
|
|
11
11
|
use crate::sql_quality::models::QualityRequest;
|
|
12
12
|
use crate::sql_quality::setting_help::{Setting, setting_help};
|
|
@@ -24,11 +24,7 @@ pub(crate) fn diagnostics(request: &QualityRequest<'_>) -> Vec<LintDiagnostic> {
|
|
|
24
24
|
(length > request.max_literal_length).then(|| LintDiagnostic {
|
|
25
25
|
code: LONG_LITERAL.code,
|
|
26
26
|
message: Cow::Borrowed(LONG_LITERAL.message),
|
|
27
|
-
remediation: Cow::Owned(remediation(
|
|
28
|
-
length,
|
|
29
|
-
request.max_literal_length,
|
|
30
|
-
request.config_file,
|
|
31
|
-
)),
|
|
27
|
+
remediation: Cow::Owned(remediation(length, request)),
|
|
32
28
|
start: token.span.start,
|
|
33
29
|
end: token.span.end,
|
|
34
30
|
fix: None,
|
|
@@ -38,14 +34,16 @@ pub(crate) fn diagnostics(request: &QualityRequest<'_>) -> Vec<LintDiagnostic> {
|
|
|
38
34
|
.collect()
|
|
39
35
|
}
|
|
40
36
|
|
|
41
|
-
fn remediation(length: usize,
|
|
37
|
+
fn remediation(length: usize, request: &QualityRequest<'_>) -> String {
|
|
42
38
|
format!(
|
|
43
|
-
"{
|
|
39
|
+
"{} {}",
|
|
40
|
+
request.long_literal_guidance,
|
|
44
41
|
setting_help(&Setting {
|
|
45
42
|
purpose: &format!(
|
|
46
|
-
"To allow literals of {length} characters (the current value is {
|
|
43
|
+
"To allow literals of {length} characters (the current value is {})",
|
|
44
|
+
request.max_literal_length
|
|
47
45
|
),
|
|
48
|
-
config_file,
|
|
46
|
+
config_file: request.config_file,
|
|
49
47
|
section: RULES_THRESHOLDS_SECTION,
|
|
50
48
|
key: MAX_LITERAL_LENGTH_KEY,
|
|
51
49
|
value: &length.to_string(),
|
|
@@ -17,4 +17,6 @@ pub(crate) struct QualityRequest<'a> {
|
|
|
17
17
|
pub(crate) fixture_body: bool,
|
|
18
18
|
/// The configuration file remediation text tells the user to edit.
|
|
19
19
|
pub(crate) config_file: &'a str,
|
|
20
|
+
/// The advice a long literal finding gives before its limit setting.
|
|
21
|
+
pub(crate) long_literal_guidance: &'a str,
|
|
20
22
|
}
|
|
@@ -4,9 +4,19 @@ use crate::sql_lint::main::engine::lint_json;
|
|
|
4
4
|
use crate::sql_quality::tests::test_types::QualityRuleTestCase;
|
|
5
5
|
|
|
6
6
|
pub(crate) fn lint(test_case: &QualityRuleTestCase) -> Result<Vec<Value>, String> {
|
|
7
|
+
lint_with_host_fields(test_case, "{}")
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/// Lint `test_case` with `host_fields`, a JSON object, merged into the request.
|
|
11
|
+
pub(crate) fn lint_with_host_fields(
|
|
12
|
+
test_case: &QualityRuleTestCase,
|
|
13
|
+
host_fields: &str,
|
|
14
|
+
) -> Result<Vec<Value>, String> {
|
|
7
15
|
let relation_keys: Value =
|
|
8
16
|
serde_json::from_str(test_case.relation_keys).map_err(|error| error.to_string())?;
|
|
9
|
-
let
|
|
17
|
+
let host_fields: Value =
|
|
18
|
+
serde_json::from_str(host_fields).map_err(|error| error.to_string())?;
|
|
19
|
+
let mut request: Value = json!({
|
|
10
20
|
"version": 1,
|
|
11
21
|
"sql": test_case.sql,
|
|
12
22
|
"dialect": "duckdb",
|
|
@@ -15,6 +25,15 @@ pub(crate) fn lint(test_case: &QualityRuleTestCase) -> Result<Vec<Value>, String
|
|
|
15
25
|
"max_ranking_order_by": 2,
|
|
16
26
|
"relation_keys": relation_keys,
|
|
17
27
|
});
|
|
28
|
+
request
|
|
29
|
+
.as_object_mut()
|
|
30
|
+
.ok_or("the request is not an object")?
|
|
31
|
+
.extend(
|
|
32
|
+
host_fields
|
|
33
|
+
.as_object()
|
|
34
|
+
.cloned()
|
|
35
|
+
.ok_or("host fields are not an object")?,
|
|
36
|
+
);
|
|
18
37
|
let response: Value = serde_json::from_str(&lint_json(&request.to_string())?)
|
|
19
38
|
.map_err(|error| error.to_string())?;
|
|
20
39
|
Ok(response["diagnostics"]
|
{sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/tests/test_quality_rules.rs
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
use serde_json::Value;
|
|
2
2
|
|
|
3
|
-
use crate::sql_quality::tests::helpers::{anchors, fixed, lint};
|
|
3
|
+
use crate::sql_quality::tests::helpers::{anchors, fixed, lint, lint_with_host_fields};
|
|
4
4
|
use crate::sql_quality::tests::test_types::{QualityRemediationTestCase, QualityRuleTestCase};
|
|
5
5
|
|
|
6
6
|
#[test]
|
|
@@ -345,44 +345,64 @@ fn given_threshold_findings_when_linting_then_remediation_shows_the_exact_settin
|
|
|
345
345
|
description: "long literal points at shortening it and the length setting",
|
|
346
346
|
sql: "SELECT 'pending orders awaiting shipment' AS label",
|
|
347
347
|
rule: "SQLCLEAN044",
|
|
348
|
+
host_fields: "{}",
|
|
348
349
|
expected_fragments: &[
|
|
349
350
|
"Shorten the literal",
|
|
350
351
|
"set this in sqlclean.toml:",
|
|
351
352
|
"the current value is 24",
|
|
352
353
|
"[rules.thresholds]\n max_literal_length = 32",
|
|
353
354
|
],
|
|
355
|
+
absent_fragments: &[],
|
|
356
|
+
},
|
|
357
|
+
QualityRemediationTestCase {
|
|
358
|
+
description: "a host's long literal guidance replaces SQLClean's and names its file",
|
|
359
|
+
sql: "SELECT 'pending orders awaiting shipment' AS label",
|
|
360
|
+
rule: "SQLCLEAN044",
|
|
361
|
+
host_fields: r#"{"long_literal_guidance": "Declare it once as a constant.", "config_file": "host.toml"}"#,
|
|
362
|
+
expected_fragments: &[
|
|
363
|
+
"Declare it once as a constant. To allow literals of 32 characters",
|
|
364
|
+
"set this in host.toml:",
|
|
365
|
+
],
|
|
366
|
+
absent_fragments: &["Shorten the literal", "sqlclean.toml"],
|
|
354
367
|
},
|
|
355
368
|
QualityRemediationTestCase {
|
|
356
369
|
description: "long ranking sort points at a row key and the sort setting",
|
|
357
370
|
sql: "SELECT ROW_NUMBER() OVER (PARTITION BY o.customer_id ORDER BY o.a, o.b, o.order_id) AS rn FROM orders AS o",
|
|
358
371
|
rule: "SQLCLEAN043",
|
|
372
|
+
host_fields: "{}",
|
|
359
373
|
expected_fragments: &[
|
|
360
374
|
"unique row key as the final tie-breaker",
|
|
361
375
|
"HASH(source_partition, source_offset, line_index) AS row_key",
|
|
362
376
|
"the current value is 2",
|
|
363
377
|
"[rules.thresholds]\n max_ranking_order_by = 3",
|
|
364
378
|
],
|
|
379
|
+
absent_fragments: &[],
|
|
365
380
|
},
|
|
366
381
|
QualityRemediationTestCase {
|
|
367
382
|
description: "unproven ranking points at a unique tie-breaker and a built row key",
|
|
368
383
|
sql: "SELECT ROW_NUMBER() OVER (PARTITION BY o.customer_id ORDER BY o.a) AS rn FROM orders AS o",
|
|
369
384
|
rule: "SQLCLEAN018",
|
|
385
|
+
host_fields: "{}",
|
|
370
386
|
expected_fragments: &[
|
|
371
387
|
"cover a unique key of the ranked rows",
|
|
372
388
|
"a unique, non-null tie-breaker column",
|
|
373
389
|
"HASH(source_partition, source_offset, line_index) AS row_key",
|
|
374
390
|
],
|
|
391
|
+
absent_fragments: &[],
|
|
375
392
|
},
|
|
376
393
|
];
|
|
377
394
|
for test_case in &test_cases {
|
|
378
|
-
let diagnostics: Vec<Value> =
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
395
|
+
let diagnostics: Vec<Value> = lint_with_host_fields(
|
|
396
|
+
&QualityRuleTestCase {
|
|
397
|
+
description: test_case.description,
|
|
398
|
+
sql: test_case.sql,
|
|
399
|
+
rule: test_case.rule,
|
|
400
|
+
relation_keys: "{}",
|
|
401
|
+
expected_anchors: &[],
|
|
402
|
+
expected_fixed_sql: None,
|
|
403
|
+
},
|
|
404
|
+
test_case.host_fields,
|
|
405
|
+
)?;
|
|
386
406
|
let remediation: &str = diagnostics
|
|
387
407
|
.first()
|
|
388
408
|
.and_then(|diagnostic| diagnostic["remediation"].as_str())
|
|
@@ -398,6 +418,18 @@ fn given_threshold_findings_when_linting_then_remediation_shows_the_exact_settin
|
|
|
398
418
|
"{}: {remediation}",
|
|
399
419
|
test_case.description
|
|
400
420
|
);
|
|
421
|
+
let leaked: Vec<&str> = test_case
|
|
422
|
+
.absent_fragments
|
|
423
|
+
.iter()
|
|
424
|
+
.copied()
|
|
425
|
+
.filter(|fragment| remediation.contains(fragment))
|
|
426
|
+
.collect();
|
|
427
|
+
assert_eq!(
|
|
428
|
+
leaked,
|
|
429
|
+
Vec::<&str>::new(),
|
|
430
|
+
"{}: {remediation}",
|
|
431
|
+
test_case.description
|
|
432
|
+
);
|
|
401
433
|
}
|
|
402
434
|
Ok(())
|
|
403
435
|
}
|
|
@@ -19,7 +19,10 @@ pub(crate) struct QualityRemediationTestCase {
|
|
|
19
19
|
pub(crate) description: &'static str,
|
|
20
20
|
pub(crate) sql: &'static str,
|
|
21
21
|
pub(crate) rule: &'static str,
|
|
22
|
+
/// Extra request fields as a JSON object, as a host sends them.
|
|
23
|
+
pub(crate) host_fields: &'static str,
|
|
22
24
|
pub(crate) expected_fragments: &'static [&'static str],
|
|
25
|
+
pub(crate) absent_fragments: &'static [&'static str],
|
|
23
26
|
}
|
|
24
27
|
|
|
25
28
|
pub(crate) struct JsonParseTestCase {
|
|
@@ -91,6 +91,7 @@ the dialect. Offsets in requests, findings, edits and facts count Unicode charac
|
|
|
91
91
|
| `max_literal_length` | `100` | The `SQLCLEAN044` limit |
|
|
92
92
|
| `max_ranking_order_by` | `5` | The `SQLCLEAN043` limit |
|
|
93
93
|
| `config_file` | `sqlclean.toml` | The configuration file name that remediation text refers to |
|
|
94
|
+
| `long_literal_guidance` | SQLClean's advice | The advice `SQLCLEAN044` gives before its `max_literal_length` setting, so a host can point at its own way to share a value |
|
|
94
95
|
| `externally_referenced_ctes` | `[]` | CTE names that something outside the SQL reads, so `SQLCLEAN005` does not report them |
|
|
95
96
|
| `relation_keys` | `{}` | Unique keys by table name as the SQL writes it, compared without case; an empty key means the relation holds at most one row, so `SQLCLEAN038` does not report a cross join with it and `SQLCLEAN018` can prove a ranking order |
|
|
96
97
|
| `relation_names` | `{}` | The relation each placeholder table name stands for, so `SQLCLEAN038` messages and exceptions name it |
|
|
@@ -4,7 +4,7 @@ build-backend = "maturin"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "sqlclean-cli"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.4.0" # x-release-please-version
|
|
8
8
|
description = "Native command-line executable for SQLClean"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.12"
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "sqlclean"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.4.0"
|
|
8
8
|
description = "Fast, opinionated SQL linting and deterministic formatting, with custom Rules in Python"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.12"
|
|
@@ -22,7 +22,7 @@ classifiers = [
|
|
|
22
22
|
"Topic :: Software Development :: Quality Assurance",
|
|
23
23
|
]
|
|
24
24
|
dependencies = [
|
|
25
|
-
"sqlclean-cli==0.
|
|
25
|
+
"sqlclean-cli==0.4.0", # x-release-please-version
|
|
26
26
|
]
|
|
27
27
|
|
|
28
28
|
[project.optional-dependencies]
|
|
@@ -615,7 +615,7 @@ wheels = [
|
|
|
615
615
|
|
|
616
616
|
[[package]]
|
|
617
617
|
name = "sqlclean"
|
|
618
|
-
version = "0.
|
|
618
|
+
version = "0.4.0"
|
|
619
619
|
source = { editable = "." }
|
|
620
620
|
dependencies = [
|
|
621
621
|
{ name = "sqlclean-cli" },
|
|
@@ -659,7 +659,7 @@ dev = [
|
|
|
659
659
|
|
|
660
660
|
[[package]]
|
|
661
661
|
name = "sqlclean-cli"
|
|
662
|
-
version = "0.
|
|
662
|
+
version = "0.4.0"
|
|
663
663
|
source = { directory = "packages/sqlclean-cli" }
|
|
664
664
|
|
|
665
665
|
[[package]]
|
|
@@ -77,6 +77,7 @@ the dialect. Offsets in requests, findings, edits and facts count Unicode charac
|
|
|
77
77
|
| `max_literal_length` | `100` | The `SQLCLEAN044` limit |
|
|
78
78
|
| `max_ranking_order_by` | `5` | The `SQLCLEAN043` limit |
|
|
79
79
|
| `config_file` | `sqlclean.toml` | The configuration file name that remediation text refers to |
|
|
80
|
+
| `long_literal_guidance` | SQLClean's advice | The advice `SQLCLEAN044` gives before its `max_literal_length` setting, so a host can point at its own way to share a value |
|
|
80
81
|
| `externally_referenced_ctes` | `[]` | CTE names that something outside the SQL reads, so `SQLCLEAN005` does not report them |
|
|
81
82
|
| `relation_keys` | `{}` | Unique keys by table name as the SQL writes it, compared without case; an empty key means the relation holds at most one row, so `SQLCLEAN038` does not report a cross join with it and `SQLCLEAN018` can prove a ranking order |
|
|
82
83
|
| `relation_names` | `{}` | The relation each placeholder table name stands for, so `SQLCLEAN038` messages and exceptions name it |
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/fixtures/format_corpus.json
RENAMED
|
File without changes
|
|
File without changes
|
{sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_authored_tokens.rs
RENAMED
|
File without changes
|
|
File without changes
|
{sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_comment_formatter.rs
RENAMED
|
File without changes
|
|
File without changes
|
{sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_empty_fixture_lint.rs
RENAMED
|
File without changes
|
|
File without changes
|
{sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_function_call_spacing.rs
RENAMED
|
File without changes
|
{sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_idempotency_reprint.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_lint_exemptions.rs
RENAMED
|
File without changes
|
{sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_set_operation_formatter.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_unused_table_alias.rs
RENAMED
|
File without changes
|
{sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_lint/tests/test_values_formatter.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sqlclean-0.3.0 → sqlclean-0.4.0}/crates/sqlclean/src/sql_quality/_helpers/removal_safety.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|