pycontw / pycon.tw

PyCon TW Proposal System & Backend Server
https://tw.pycon.org/prs
MIT License
95 stars 107 forks source link

lint: replace flake8 with ruff #1174

Closed mattwang44 closed 5 months ago

mattwang44 commented 5 months ago

Types of changes

Description

Introduce ruff and remove flake8

mattwang44 commented 5 months ago

~merge 前會再 commit 一份 .git-blame-ignore-revs~ done

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 75.17241% with 36 lines in your changes are missing coverage. Please review.

Project coverage is 71.19%. Comparing base (6e1cdbf) to head (f4a11d2).

Files Patch % Lines
.../proposals/management/commands/export_proposals.py 0.00% 5 Missing :warning:
...anagement/commands/export_proposals_create_time.py 0.00% 4 Missing :warning:
src/events/views.py 0.00% 3 Missing :warning:
src/users/models.py 70.00% 3 Missing :warning:
src/ccip/views.py 66.66% 2 Missing :warning:
src/core/difftools.py 0.00% 2 Missing :warning:
src/core/views.py 50.00% 2 Missing :warning:
src/events/api/views.py 66.66% 2 Missing :warning:
src/events/models.py 77.77% 2 Missing :warning:
src/events/renderers.py 66.66% 2 Missing :warning:
... and 6 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## upgrade-django-to-3.2 #1174 +/- ## ========================================================= + Coverage 71.07% 71.19% +0.12% ========================================================= Files 84 84 Lines 3440 3451 +11 ========================================================= + Hits 2445 2457 +12 + Misses 995 994 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mattwang44 commented 5 months ago

rebased