-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* make mypy pass on our tests * fix grammar
- Loading branch information
Showing
7 changed files
with
28 additions
and
24 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
3 changes: 3 additions & 0 deletions
3
certbot-nginx/certbot_nginx/_internal/tests/parser_obj_test.py
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 |
---|---|---|
@@ -1,8 +1,14 @@ | ||
[mypy] | ||
# Removing this exclude setting is being tracked by | ||
# https://github.com/certbot/certbot/issues/7909. | ||
exclude = .*/_internal/tests/ | ||
ignore_missing_imports = True | ||
warn_unused_ignores = True | ||
show_error_codes = True | ||
disallow_untyped_defs = True | ||
|
||
# Using stricter settings here is being tracked by | ||
# https://github.com/certbot/certbot/issues/9647. | ||
[mypy-*._internal.tests.*] | ||
# By default, mypy prints notes without erroring about any type annotations it | ||
# finds in untyped function bodies when check_untyped_defs is false. Disabling | ||
# this "error" code removes this visual noise. | ||
disable_error_code = annotation-unchecked | ||
disallow_untyped_defs = False |