Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 30, 2024
1 parent de37bba commit 608c8ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/poetry/core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from __future__ import annotations


# this cannot presently be replaced with importlib.metadata.version as when building
# itself, poetry-core is not available as an installed distribution.
__version__ = "1.9.0"
1 change: 0 additions & 1 deletion src/poetry/core/json/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from typing import Any

from poetry.core._vendor import fastjsonschema

from poetry.core._vendor.fastjsonschema.exceptions import JsonSchemaException


Expand Down
4 changes: 2 additions & 2 deletions vendors/patches/lark.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ index 362a845..e9b07e6 100644
+++ b/src/poetry/core/_vendor/lark/load_grammar.py
@@ -861,7 +861,7 @@ class FromPackageLoader:
raise IOError('Cannot find grammar in given paths') from err


-stdlib_loader = FromPackageLoader('lark', IMPORT_PATHS)
+stdlib_loader = FromPackageLoader('poetry.core._vendor.lark', IMPORT_PATHS)

0 comments on commit 608c8ae

Please sign in to comment.