mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 19:46:54 +00:00
11 lines
252 B
Python
11 lines
252 B
Python
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."""
|