mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-08 04:34:16 +00:00
13 lines
288 B
Python
13 lines
288 B
Python
from __future__ import annotations
|
|
|
|
from typing import final
|
|
|
|
|
|
@final
|
|
class UsageError(Exception):
|
|
"""Error in pytest usage or invocation."""
|
|
|
|
|
|
class PrintHelp(Exception):
|
|
"""Raised when pytest should print its help to skip the rest of the
|
|
argument parsing and validation."""
|