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

Clearly indicate what is counted as a branch #11423

Merged
merged 4 commits into from
May 16, 2024

Conversation

jaap3
Copy link
Contributor

@jaap3 jaap3 commented May 14, 2024

Summary

As discussed in issue #11408, PLR0912 has a broader definition of "branches" than I expected. This updates the documentation to include this definition.

I also updated the example to include several different types of branches, while still maintaining dictionary lookup as an alternative solution. (Crafting a realistic example was quite a challenge 😅).

Closes #11408.

Copy link
Contributor

github-actions bot commented May 14, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@charliermarsh charliermarsh added the documentation Improvements or additions to documentation label May 16, 2024
@charliermarsh charliermarsh enabled auto-merge (squash) May 16, 2024 02:05
@charliermarsh charliermarsh merged commit b3e4d39 into astral-sh:main May 16, 2024
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
3 participants