Parsed command-line arguments for linting.
| 11 | @typechecked |
| 12 | @dataclass |
| 13 | class LintArgs: |
| 14 | """Parsed command-line arguments for linting.""" |
| 15 | |
| 16 | js_only: bool = False |
| 17 | cpp_only: bool = False |
| 18 | no_fingerprint: bool = False |
| 19 | run_full: bool = False |
| 20 | run_iwyu: bool = False |
| 21 | run_pyright: bool = False |
| 22 | run_tidy: bool = False |
| 23 | use_rust_cpp_lint: bool = False |
| 24 | iwyu_fix: bool = False |
| 25 | skip_platformio_check: bool = False |
| 26 | skip_meson: bool = False |
| 27 | files: list[str] = field(default_factory=lambda: list[str]()) |
| 28 | |
| 29 | |
| 30 | def parse_lint_args(argv: list[str] | None = None) -> LintArgs: |