diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2023-01-05 20:10:24 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2023-01-05 20:10:24 -0500 |
commit | 78444f4c06df6a634fa67dd99ee7c07b6b633d9e (patch) | |
tree | 4651930bc1ec5449e408c347b2d660522f8ac9e4 /coverage/config.py | |
parent | d4339ee90c3146f370d572cbb1b9ab9907daafad (diff) | |
download | python-coveragepy-git-78444f4c06df6a634fa67dd99ee7c07b6b633d9e.tar.gz |
style: use good style for annotated defaults parameters
Diffstat (limited to 'coverage/config.py')
-rw-r--r-- | coverage/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/config.py b/coverage/config.py index 434a8d2a..ee30b8a4 100644 --- a/coverage/config.py +++ b/coverage/config.py @@ -45,7 +45,7 @@ class HandyConfigParser(configparser.ConfigParser): def read( # type: ignore[override] self, filenames: Iterable[str], - encoding_unused: Optional[str]=None, + encoding_unused: Optional[str] = None, ) -> List[str]: """Read a file name as UTF-8 configuration data.""" return super().read(filenames, encoding="utf-8") @@ -430,7 +430,7 @@ class CoverageConfig(TConfigurable): cp: TConfigParser, attr: str, where: str, - type_: str='', + type_: str = '', ) -> bool: """Set an attribute on self if it exists in the ConfigParser. |