Skip to content

[FEATURE]: presubmit linters should be incremental to the files being changed #43751

@aiuto

Description

@aiuto

Describe the feature you'd like

The CI jobs can fail for reasons unrelated to your PR.

  • .gitlab/lint/technical_linters.yml calls dda inv -- -e linter.python --show-versions
  • dda wraps tasks/linters.py, which invokes. ruff format --check --diff .

tasks/linters.py should look at only the files that were changed in the PR.

Is your feature request related to a problem?

No response

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureoss/0External contributions priority 0pendingLabel for issues waiting a Datadog member's response.team/agent-devx

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions