Skip to content

[flake8-bugbear] - do not run mutable-argument-default on stubs (B006)#14058

Merged
charliermarsh merged 1 commit intoastral-sh:mainfrom
diceroll123:fix-B006-stubs
Nov 3, 2024
Merged

[flake8-bugbear] - do not run mutable-argument-default on stubs (B006)#14058
charliermarsh merged 1 commit intoastral-sh:mainfrom
diceroll123:fix-B006-stubs

Conversation

@diceroll123
Copy link
Contributor

Summary

Early-exits in B006 when the file is a stub. Fixes #14026

Test Plan

cargo test

@github-actions
Copy link
Contributor

github-actions bot commented Nov 2, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@charliermarsh charliermarsh merged commit bc7615a into astral-sh:main Nov 3, 2024
@charliermarsh charliermarsh added the bug Something isn't working label Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ignore mutable-argument-default (B006) in .pyi stubs

2 participants