summaryrefslogtreecommitdiff
path: root/src/flake8/options
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2019-01-07 16:14:52 -0800
committerAnthony Sottile <asottile@umich.edu>2019-01-07 19:35:41 -0800
commit9788b87c91d3f3429e5b1ca0da4b2261b92bb8c3 (patch)
tree35047371f64b07461d8cb9482a6cfa662ad4f866 /src/flake8/options
parent894c4ac9ee2a2309bfdf873a841cd9fc2f05df1b (diff)
downloadflake8-9788b87c91d3f3429e5b1ca0da4b2261b92bb8c3.tar.gz
Support more syntaxes in per-file-ignores
Diffstat (limited to 'src/flake8/options')
-rw-r--r--src/flake8/options/manager.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/flake8/options/manager.py b/src/flake8/options/manager.py
index 7be4315..3f4e883 100644
--- a/src/flake8/options/manager.py
+++ b/src/flake8/options/manager.py
@@ -32,7 +32,6 @@ class Option(object):
parse_from_config=False,
comma_separated_list=False,
normalize_paths=False,
- separator=None,
):
"""Initialize an Option instance wrapping optparse.Option.
@@ -80,8 +79,6 @@ class Option(object):
:param bool normalize_paths:
Whether the option is expecting a path or list of paths and should
attempt to normalize the paths to absolute paths.
- :param separator:
- The item that separates the "comma"-separated list.
"""
self.short_option_name = short_option_name
self.long_option_name = long_option_name
@@ -110,7 +107,6 @@ class Option(object):
self.parse_from_config = parse_from_config
self.comma_separated_list = comma_separated_list
self.normalize_paths = normalize_paths
- self.separator = separator or utils.COMMA_SEPARATED_LIST_RE
self.config_name = None
if parse_from_config: