Skip to content

Commit

Permalink
Merge branch 'main' into update-json-fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
Secrus authored Oct 27, 2024
2 parents d41d74b + a213bf7 commit 17649fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/poetry/console/commands/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,8 @@ def _format_requirements(self, requirements: list[dict[str, str]]) -> Requiremen

@staticmethod
def _validate_author(author: str, default: str) -> str | None:
from poetry.core.packages.package import AUTHOR_REGEX
from poetry.core.utils.helpers import combine_unicode
from poetry.core.utils.patterns import AUTHOR_REGEX

author = combine_unicode(author or default)

Expand Down
2 changes: 1 addition & 1 deletion src/poetry/layouts/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from typing import Any

from packaging.utils import canonicalize_name
from poetry.core.packages.package import AUTHOR_REGEX
from poetry.core.utils.helpers import module_name
from poetry.core.utils.patterns import AUTHOR_REGEX
from tomlkit import inline_table
from tomlkit import loads
from tomlkit import table
Expand Down

0 comments on commit 17649fc

Please sign in to comment.