pycon.tw icon indicating copy to clipboard operation
pycon.tw copied to clipboard

lint: replace flake8 with ruff

Open mattwang44 opened this issue 1 year ago • 2 comments

Types of changes

  • [x] Other (introduce ruff)

Description

Introduce ruff and remove flake8

mattwang44 avatar Apr 09 '24 10:04 mattwang44

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

mattwang44 avatar Apr 09 '24 13:04 mattwang44

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

codecov[bot] avatar Apr 09 '24 13:04 codecov[bot]

rebased

mattwang44 avatar Apr 13 '24 09:04 mattwang44