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

Add our own ignored-names abstractions #9802

Merged
merged 1 commit into from
Feb 3, 2024
Merged

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Feb 2, 2024

Summary

These run over nearly every identifier. It's rare to override them, so when not provided, we can just use a match against the hardcoded default set.

Copy link

codspeed-hq bot commented Feb 2, 2024

CodSpeed Performance Report

Merging #9802 will not alter performance

Comparing charlie/ignore-names (6a239a7) with main (e0a6034)

Summary

✅ 30 untouched benchmarks

@charliermarsh charliermarsh added the performance Potential performance improvement label Feb 2, 2024
@charliermarsh charliermarsh marked this pull request as ready for review February 2, 2024 21:40
Copy link
Contributor

github-actions bot commented Feb 2, 2024

ruff-ecosystem results

Linter (stable)

ℹ️ ecosystem check encountered linter errors. (no lint changes; 1 project error)

sphinx-doc/sphinx (error)

ruff failed
  Cause: Selection of unstable rules without the `--preview` flag is not allowed. Enable preview or remove selection of:
	- FURB113
	- FURB131
	- FURB132

Linter (preview)

✅ ecosystem check detected no linter changes.

Copy link
Member

@BurntSushi BurntSushi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I also like the encapsulation introduced here. Looks like the code is simpler to me. :)

@charliermarsh charliermarsh merged commit c53aae0 into main Feb 3, 2024
17 checks passed
@charliermarsh charliermarsh deleted the charlie/ignore-names branch February 3, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Potential performance improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants