Skip to content

Commit f94c174

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6bb9471 commit f94c174

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/poetry/core/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from __future__ import annotations
22

3+
34
# this cannot presently be replaced with importlib.metadata.version as when building
45
# itself, poetry-core is not available as an installed distribution.
56
__version__ = "1.9.0"

src/poetry/core/json/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from typing import Any
99

1010
from poetry.core._vendor import fastjsonschema
11-
1211
from poetry.core._vendor.fastjsonschema.exceptions import JsonSchemaException
1312

1413

vendors/patches/lark.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ index 362a845..e9b07e6 100644
44
+++ b/src/poetry/core/_vendor/lark/load_grammar.py
55
@@ -861,7 +861,7 @@ class FromPackageLoader:
66
raise IOError('Cannot find grammar in given paths') from err
7-
8-
7+
8+
99
-stdlib_loader = FromPackageLoader('lark', IMPORT_PATHS)
1010
+stdlib_loader = FromPackageLoader('poetry.core._vendor.lark', IMPORT_PATHS)

0 commit comments

Comments
 (0)