summaryrefslogtreecommitdiff
path: root/src/flake8
diff options
context:
space:
mode:
Diffstat (limited to 'src/flake8')
-rw-r--r--src/flake8/options/manager.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flake8/options/manager.py b/src/flake8/options/manager.py
index 13c7969..d076862 100644
--- a/src/flake8/options/manager.py
+++ b/src/flake8/options/manager.py
@@ -28,6 +28,8 @@ _optparse_callable_map = {
"float": float,
"complex": complex,
"choice": _ARG.NO,
+ # optparse allows this but does not document it
+ "str": str,
} # type: Dict[str, Union[Type[Any], _ARG]]