-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make AUTHOR_REGEX less restrictive
- Loading branch information
1 parent
432ba1a
commit b329759
Showing
4 changed files
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,6 +83,7 @@ def test_package_authors_invalid() -> None: | |
("John-Paul: Doe", None), | ||
("John-Paul: Doe", "[email protected]"), | ||
("John Doe the 3rd", "[email protected]"), | ||
("FirstName LastName [email protected]", None), | ||
], | ||
) | ||
def test_package_authors_valid(name: str, email: str | None) -> None: | ||
|
@@ -101,12 +102,9 @@ def test_package_authors_valid(name: str, email: str | None) -> None: | |
("name",), | ||
[ | ||
("<[email protected]>",), | ||
("[email protected]",), | ||
("<[email protected]",), | ||
("[email protected]>",), | ||
("<John Doe",), | ||
("John? Doe",), | ||
("Jane+Doe",), | ||
("~John Doe",), | ||
("John~Doe",), | ||
], | ||
) | ||
def test_package_author_names_invalid(name: str) -> None: | ||
|