Skip to content

Conversation

@Avasam
Copy link
Collaborator

@Avasam Avasam commented Mar 31, 2025

Ref #13295
See the rules: flake8-pie (PIE)

A mix of rules that apply to stubs and sometimes only scripts. Almost all autofixable. All the rules looks like rules we'd want.

@github-actions

This comment has been minimized.

Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

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

Didn't realize startswith takes a tuple.

@Avasam
Copy link
Collaborator Author

Avasam commented Apr 1, 2025

Didn't realize startswith takes a tuple.

I'm not sure how that relates to this PR. Are you commenting on the right PR?

Edit: multiple-starts-ends-with (PIE810)

@brianschubert
Copy link
Collaborator

brianschubert commented Apr 1, 2025

I'm not sure how that relates to this PR.

Possibly about PIE810?

@github-actions
Copy link
Contributor

github-actions bot commented Apr 2, 2025

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau merged commit aaf1e03 into python:main Apr 2, 2025
60 checks passed
@Avasam Avasam deleted the Enable-Ruff-flake8-pie-(PIE) branch April 2, 2025 07:07
mmingyu pushed a commit to mmingyu/typeshed that referenced this pull request May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants