Address no files to check pre-commit message#1077
Conversation
check for broken symlinks............................(no files to check)Skipped ruff check...........................................(no files to check)Skipped mypy.................................................(no files to check)Skipped
Found 4081 errors in 80 files (checked 113 source files)
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1077 +/- ##
=======================================
Coverage 99.87% 99.87%
=======================================
Files 28 28
Lines 8984 8986 +2
=======================================
+ Hits 8973 8975 +2
Misses 11 11
🚀 New features to boost your workflow:
|
It shouldn't be that bad, I at least ran it locally when doing the v3 release. 80 files? Is it checking the |
|
I haven't changed what it checks, only Actually, this is a known pre-commit feature: in order to parallelize checks, it runs hooks on each file individually and explicitly. Unfortunately, explicitly passing files to the underlying software may override its
Neither codespell nor MyPy have such an option. Therefore, files have to be excluded twice, once in the MyPy settings in case it is run standalone, and once in pre-commit settings. That's rather unfortunate, but there's no way around that. |
|
Much better after getting pre-commit to exclude |
This time, make sure to exclude files also when run with pre-commit.
bfad6cd to
678719c
Compare
678719c to
c17fbf1
Compare
Reference issue
#1075 (comment)
It appears MyPy hasn't been run for ages:
I think it doesn't make sense to try to enable it in CI until there errors are addressed.
Tasks