Nun möchte ich das aber auf der bash auf einen Output (mit über 7000 Zeilen) anwenden:
Code: Alles auswählen
ruff check --select ALL . | grep '\: (\w+\d+) '
Code: Alles auswählen
warning: `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible. Ignoring `one-blank-line-before-class`.
warning: `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible. Ignoring `multi-line-summary-second-line`.
Code: Alles auswählen
tests/test_zuf.py:179:35: Q000 [*] Single quotes found but double quotes preferred
tests/test_zuf.py:181:9: ANN201 Missing return type annotation for public function `test_valid_scores`
tests/test_zuf.py:181:27: ANN101 Missing type annotation for `self` in method
tests/test_zuf.py:182:9: D209 [*] Multi-line docstring closing quotes should be on a separate line
tests/test_zuf.py:205:37: Q000 [*] Single quotes found but double quotes preferred
tests/test_zuf.py:207:9: ANN201 Missing return type annotation for public function `test_valid_scores_with_missings`