chore: lint source code using Ruff

This commit is contained in:
jakob.scheid committed 2026-09-21 20:10:09 +02:00
1 parent aa4a139878
commit de3eac3bb1
35 files changed
+161 -130

No files matched your search

+2 -1
View File
@@ -19,6 +19,7 @@ The command line interface
import argparse
import pathlib
import sys
from .languages.python import VALID_SECTIONS as VALID_PYTHON_SECTIONS
__all__ = [
@@ -169,7 +170,7 @@ def main(argv=None) -> int:
except SyntaxError:
# TODO: add a custom exception class to clearify that a project
# parsing syntax error is meant.
return error(f'syntax error in project source code')
return error('syntax error in project source code')
except KeyboardInterrupt:
return 130
except BrokenPipeError: