-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into pre-commit-ci-update-config
- Loading branch information
Showing
3 changed files
with
7 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,6 +83,8 @@ 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), | ||
("Surname, Given Name [Department]", None), | ||
], | ||
) | ||
def test_package_authors_valid(name: str, email: str | None) -> None: | ||
|
@@ -98,12 +100,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: | ||
|