canonical / mir-ci

Mir CI helpers
1 stars 1 forks source link

mir-ci: add linters #46

Closed Saviq closed 10 months ago

codecov[bot] commented 10 months ago

Codecov Report

Merging #46 (f651f8e) into main (6f2a758) will decrease coverage by 0.52%. The diff coverage is 56.44%.

@@            Coverage Diff             @@
##             main      #46      +/-   ##
==========================================
- Coverage   62.26%   61.75%   -0.52%     
==========================================
  Files          10       10              
  Lines         652      651       -1     
  Branches       76       76              
==========================================
- Hits          406      402       -4     
- Misses        226      229       +3     
  Partials       20       20              
Files Coverage Δ
mir-ci/mir_ci/__init__.py 100.00% <100.00%> (ø)
mir-ci/mir_ci/apps.py 92.30% <100.00%> (ø)
mir-ci/mir_ci/benchmarker.py 97.05% <100.00%> (ø)
mir-ci/mir_ci/cgroups.py 96.66% <100.00%> (ø)
mir-ci/mir_ci/program.py 89.58% <90.00%> (ø)
mir-ci/mir_ci/display_server.py 76.00% <73.33%> (-0.48%) :arrow_down:
mir-ci/mir_ci/wayland_client.py 41.30% <55.55%> (ø)
mir-ci/mir_ci/virtual_pointer.py 38.09% <31.57%> (ø)
mir-ci/mir_ci/screencopy_tracker.py 24.32% <34.48%> (ø)
mir-ci/mir_ci/conftest.py 39.65% <39.58%> (-2.59%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Saviq commented 10 months ago

@mattkae so this is completely rehauled, using https://pre-commit.com now.

It will even apply the simple fixes (e.g. https://github.com/MirServer/mir-ci/pull/46/commits/44e1c35ad6448ff21fc86ec726a9c33d49476707) on its own.