Closed ianthomas23 closed 8 months ago
Merging #1295 (413c257) into main (81ce9b8) will decrease coverage by
0.03%
. The diff coverage is88.63%
.
@@ Coverage Diff @@
## main #1295 +/- ##
==========================================
- Coverage 85.66% 85.63% -0.03%
==========================================
Files 52 52
Lines 11114 11128 +14
==========================================
+ Hits 9521 9530 +9
- Misses 1593 1598 +5
This adds
pre-commit
to the repo and CI, following a similar approach to that in HoloViews. The initial setup is relatively simple, and we can extend it over time. It includes some of the standard pre-commit hooks as well ascodespell
andruff
.It uses the default set of
ruff
checks, and I have fixed all reported errors. These are in the following categories:except
.l
.def
rather than assigning alambda
.a not in b
rather thannot a in b
.None of these changes should be controversial, but I accept that this PR is rather large so it may not be acceptable as it is.