Skip to content

dbt-autofix does not respect dbtignore files #388

Description

@mattogburke

dbt-core supports a .dbtignore file (https://docs.getdbt.com/reference/dbtignore), and ignores all files within that - this is useful for having non-dbt files colocated with dbt files (like documentation or other metadata).

Current behaviour: dbt-autofix does not respect this, and depending on the contents of the files it either mangles or wipes them entirely.
Expected behavious: dbt-autofix entirely ignores files that match the .dbtignore filters, inline with dbt-core.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions