Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix PTH123 false positive when open is passed a file descriptor #13616

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Oct 3, 2024

Closes #12871

Includes some minor semantic type inference extensions changes to help with reliably detecting integers

@zanieb zanieb added the bug Something isn't working label Oct 3, 2024
Copy link
Contributor

github-actions bot commented Oct 3, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@zanieb zanieb enabled auto-merge (squash) October 4, 2024 13:34
@zanieb zanieb disabled auto-merge October 4, 2024 13:34
@zanieb zanieb merged commit d726f09 into main Oct 4, 2024
20 checks passed
@zanieb zanieb deleted the zb/pathlib-open-fd branch October 4, 2024 13:48
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PTH123 suggests Path.open() which does not support file descriptors
2 participants