8000 Ruff Pattern Matching · Issue #458 · pact-foundation/pact-python · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Ruff Pattern Matching #458
Open
Open
@JP-Ellis

Description

@JP-Ellis

Have you read the Contributing Guidelines on issues?

Prerequisites

  • I'm using the latest version of pact-python.
  • I have read the console error message carefully (if applicable).

Description

Ruff's exclude pattern matching is over-zealous, and patterns which should match files within a directory are instead recursive.

This is an upstream issue:

Reproducible demo

No response

Steps to reproduce

  1. Checkout master
  2. Run ruff and note that nothing is fixed/raised

Expected behavior

  • Ruff should correctly lint files in v3 (both within Pact and tests)

Actual behavior

  • Ruff's ignore is overly eager.

Your environment

No response

Self-service

  • I'd be willing to fix this bug myself.

Metadata

Metadata

Assignees

Labels

area:ciRelating to the CI/CD workflowarea:v3Relating to the pact.v3 moduledifficulty:easyA simple task appropriate for newcomers to the codebasesmartbear-supportedThis issue is supported by SmartBeartype:bugSomething isn't working

Type

No type

Projects

Status

🚫 Blocked

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0