summaryrefslogtreecommitdiff
path: root/coverage/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/config.py')
-rw-r--r--coverage/config.py4
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.