Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruff Pattern Matching #458

Open
4 of 5 tasks
JP-Ellis opened this issue Nov 6, 2023 · 1 comment · Fixed by #459
Open
4 of 5 tasks

Ruff Pattern Matching #458

JP-Ellis opened this issue Nov 6, 2023 · 1 comment · Fixed by #459
Assignees
Labels
area:ci Relating to the CI/CD workflow area:v3 Relating to the pact.v3 module difficulty:easy A simple task appropriate for newcomers to the codebase smartbear-supported This issue is supported by SmartBear type:bug Something isn't working

Comments

@JP-Ellis
Copy link
Contributor

JP-Ellis commented Nov 6, 2023

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.
@JP-Ellis JP-Ellis self-assigned this Nov 6, 2023
@JP-Ellis JP-Ellis added type:bug Something isn't working smartbear-supported This issue is supported by SmartBear difficulty:easy A simple task appropriate for newcomers to the codebase area:ci Relating to the CI/CD workflow area:v3 Relating to the pact.v3 module and removed smartbear-supported This issue is supported by SmartBear labels Nov 6, 2023
@JP-Ellis
Copy link
Contributor Author

JP-Ellis commented Nov 6, 2023

Re-opening as #459 is only a temporary workaround.

@JP-Ellis JP-Ellis reopened this Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:ci Relating to the CI/CD workflow area:v3 Relating to the pact.v3 module difficulty:easy A simple task appropriate for newcomers to the codebase smartbear-supported This issue is supported by SmartBear type:bug Something isn't working
Projects
Status: 🚫 Blocked
Development

Successfully merging a pull request may close this issue.

1 participant