-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Disallow implicit re-exports of imported values in Python modules
- Set Mypy option `no_implicit_reexport` to `True`. - Fix errors reported by Mypy after the configuration change. From https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-no-implicit-reexport: > […] [do] not re-export unless the item is imported using from-as or is included in `__all__`. Ref: https://app.shortcut.com/cordada/story/6589 [sc-6589]
- Loading branch information
1 parent
a52a17f
commit be1d1c2
Showing
3 changed files
with
11 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,11 @@ | |
""" | ||
|
||
__all__ = [ | ||
'X509Cert', | ||
'_X509CertOpenSsl', | ||
] | ||
|
||
import base64 | ||
from typing import Union | ||
|
||
|
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 |
---|---|---|
|
@@ -20,6 +20,11 @@ | |
""" | ||
|
||
__all__ = [ | ||
'XmlElement', | ||
'XmlElementTree', | ||
] | ||
|
||
import io | ||
import logging | ||
import os | ||
|