Skip to content

Apply more ruff rules#633

Open
DimitriPapadopoulos wants to merge 5 commits intopypa:mainfrom
DimitriPapadopoulos:PERF
Open

Apply more ruff rules#633
DimitriPapadopoulos wants to merge 5 commits intopypa:mainfrom
DimitriPapadopoulos:PERF

Conversation

@DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented Aug 24, 2024

No description provided.

@codecov
Copy link

codecov bot commented Aug 24, 2024

Codecov Report

❌ Patch coverage is 61.53846% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 55.06%. Comparing base (56223f6) to head (97ae3e4).

Files with missing lines Patch % Lines
src/wheel/_bdist_wheel.py 0.00% 3 Missing ⚠️
src/wheel/macosx_libfile.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #633      +/-   ##
==========================================
- Coverage   55.14%   55.06%   -0.08%     
==========================================
  Files          15       15              
  Lines        1206     1204       -2     
==========================================
- Hits          665      663       -2     
  Misses        541      541              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@DimitriPapadopoulos DimitriPapadopoulos changed the title Apply ruff/Perflint rule PERF401 Apply more ruff rules Aug 24, 2024
@agronholm
Copy link
Contributor

I'm not seeing any changes to pyproject.toml?

@agronholm
Copy link
Contributor

May I ask what prompted this change?

@DimitriPapadopoulos
Copy link
Contributor Author

I just tried to apply some rules that raised a few valid issues in other projects.

@agronholm
Copy link
Contributor

May I ask what your interest is in pushing more Ruff rules to this project, especially given how I've (deliberately) made it far less relevant in the packaging ecosystem than it was in the past?

PIE810 Call `endswith` once with a `tuple`
FLY002 Consider f-string instead of string join
PERF401 Use a list comprehension to create a transformed list
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.

2 participants