Skip to content

Enforce ruff/pyupgrade rules (UP)#400

Merged
astanin merged 5 commits intoastanin:masterfrom
DimitriPapadopoulos:UP
Mar 10, 2026
Merged

Enforce ruff/pyupgrade rules (UP)#400
astanin merged 5 commits intoastanin:masterfrom
DimitriPapadopoulos:UP

Conversation

@DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented Mar 5, 2026

This is recommended by Repo-Review:

RF103: pyupgrade must be selected

Requires #416.

@DimitriPapadopoulos DimitriPapadopoulos force-pushed the UP branch 3 times, most recently from 59d9457 to 20368fa Compare March 5, 2026 13:18
@DimitriPapadopoulos DimitriPapadopoulos marked this pull request as draft March 5, 2026 13:20
@DimitriPapadopoulos DimitriPapadopoulos force-pushed the UP branch 9 times, most recently from 2be30c0 to 6b838bc Compare March 5, 2026 19:03
@codecov-commenter
Copy link

codecov-commenter commented Mar 5, 2026

Codecov Report

❌ Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.43%. Comparing base (164b367) to head (b624251).
⚠️ Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
tabulate/__init__.py 66.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #400      +/-   ##
==========================================
- Coverage   84.45%   84.43%   -0.02%     
==========================================
  Files           1        1              
  Lines         907      906       -1     
  Branches      218      218              
==========================================
- Hits          766      765       -1     
  Misses        107      107              
  Partials       34       34              

☔ 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 marked this pull request as ready for review March 6, 2026 10:04
@DimitriPapadopoulos DimitriPapadopoulos marked this pull request as draft March 6, 2026 10:04
Use `X | Y` for type annotations
Unnecessary `int` call (rewrite as a literal)
Use format specifiers instead of percent format
Import from `collections.abc` instead
@DimitriPapadopoulos DimitriPapadopoulos marked this pull request as ready for review March 9, 2026 15:36
@astanin astanin merged commit 2070736 into astanin:master Mar 10, 2026
16 checks passed
@astanin
Copy link
Owner

astanin commented Mar 10, 2026

Thank you.

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