[pre-commit.ci] pre-commit autoupdate#2997
Conversation
updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.2 → v0.4.3](astral-sh/ruff-pre-commit@v0.4.2...v0.4.3)
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2997 +/- ##
=======================================
Coverage 99.63% 99.63%
=======================================
Files 117 117
Lines 17593 17593
Branches 3173 3173
=======================================
Hits 17528 17528
Misses 46 46
Partials 19 19
|
|
Interesting new error: |
|
I think we should silence the lint. It's conceptually an abstract base class and therefore is documented as if it is one. (Maybe just at that one line. I can imagine scenarios where the lint being tripped is a sign of a bad change.) |
Ooh, I'm the author of that one in flake8-bugbear! But yeah it has a bunch of known false positives, this being one of them: a class never meant to be instantiated, but subclasses don't have to override any of its methods. It looks like ruff's description is much more assertive:
than the original description in flake8-bugbear:
I'll go open an issue |
updates: