sql_query_analyzer 0.4.0

Static analysis tool for SQL queries with 20 built-in rules for performance, security, and style
Documentation
# SPDX-FileCopyrightText: 2025 RAprogramm <andrey.rozanov.vl@gmail.com>
# SPDX-License-Identifier: MIT

codecov:
  require_ci_to_pass: true

coverage:
  precision: 2
  round: down
  range: "70...100"
  status:
    project:
      default:
        target: auto
        threshold: 5%
        if_ci_failed: error
    patch:
      default:
        target: 80%
        threshold: 5%

comment:
  layout: "reach,diff,flags,files"
  behavior: default
  require_changes: true
  require_base: false
  require_head: true

ignore:
  - "examples/**"
  - "tests/**"

flag_management:
  default_rules:
    carryforward: true
    statuses:
      - type: project
        target: auto
        threshold: 5%
      - type: patch
        target: 80%
  individual_flags:
    - name: lib
      paths:
        - src/lib.rs
        - src/cache.rs
        - src/config.rs
        - src/error.rs
        - src/llm.rs
        - src/output.rs
        - src/query.rs
        - src/rules/**
        - src/schema.rs
      carryforward: true
      statuses:
        - type: project
          target: auto
        - type: patch
          target: 80%
    - name: bin
      paths:
        - src/main.rs
        - src/cli.rs
      carryforward: true
      statuses:
        - type: project
          target: auto
        - type: patch
          target: 70%