mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-10 05:14:18 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
72ad6dc953
commit
f4cd1ba0d6
813 changed files with 66015 additions and 58839 deletions
|
|
@ -1,8 +1,9 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from typing_extensions import Final
|
||||
from typing import Final
|
||||
|
||||
|
||||
class ParseError(Exception):
|
||||
|
|
@ -17,4 +18,4 @@ class ParseError(Exception):
|
|||
self.msg = msg
|
||||
|
||||
def __str__(self) -> str:
|
||||
return f"{self.path}:{self.lineno + 1}: {self.msg}"
|
||||
return f'{self.path}:{self.lineno + 1}: {self.msg}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue