Skip to content

Ruff 0.11.8#697

Merged
armanddidierjean merged 22 commits intomainfrom
ruff-0.11.8
May 18, 2025
Merged

Ruff 0.11.8#697
armanddidierjean merged 22 commits intomainfrom
ruff-0.11.8

Conversation

@armanddidierjean
Copy link
Member

Description

Bump Ruff. Enable new rules

@codecov
Copy link

codecov bot commented May 1, 2025

Codecov Report

Attention: Patch coverage is 76.59574% with 22 lines in your changes missing coverage. Please review.

Project coverage is 81.40%. Comparing base (3394d83) to head (fb4e265).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
app/modules/calendar/endpoints_calendar.py 28.57% 5 Missing ⚠️
app/modules/raffle/endpoints_raffle.py 71.42% 4 Missing ⚠️
app/modules/raid/utils/pdf/conversion_utils.py 50.00% 3 Missing ⚠️
app/core/auth/endpoints_auth.py 66.66% 2 Missing ⚠️
app/modules/raid/utils/utils_raid.py 50.00% 2 Missing ⚠️
app/core/google_api/google_api.py 0.00% 1 Missing ⚠️
app/core/memberships/endpoints_memberships.py 75.00% 1 Missing ⚠️
app/modules/amap/cruds_amap.py 0.00% 1 Missing ⚠️
app/types/s3_access.py 0.00% 1 Missing ⚠️
app/types/websocket.py 0.00% 1 Missing ⚠️
... and 1 more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #697   +/-   ##
=======================================
  Coverage   81.39%   81.40%           
=======================================
  Files         163      163           
  Lines       12234    12176   -58     
=======================================
- Hits         9958     9912   -46     
+ Misses       2276     2264   -12     

☔ 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.

Copy link
Member

@Marc-Andrieu Marc-Andrieu left a comment

Choose a reason for hiding this comment

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

I approve because we need this PR and I've reviewed 43/46 files, but still don't get these two last changes :

  • app/core/core_endpoints/endpoints_core.py : why remove the try-except block and the HTTP exception?
  • why remove the parentheses after @pytest.fixture?

@Marc-Andrieu
Copy link
Member

Update: I got my answers

@armanddidierjean armanddidierjean added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 12, 2025
@armanddidierjean armanddidierjean merged commit cb9ce93 into main May 18, 2025
8 checks passed
@armanddidierjean armanddidierjean deleted the ruff-0.11.8 branch May 18, 2025 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code quality dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants