summaryrefslogtreecommitdiff
path: root/src/flake8/options
diff options
context:
space:
mode:
authorIan Stapleton Cordasco <graffatcolmingov@gmail.com>2019-01-17 13:32:06 +0000
committerIan Stapleton Cordasco <graffatcolmingov@gmail.com>2019-01-17 13:32:06 +0000
commit97e492755568928d804d2172ba71db578f4a39c4 (patch)
treecc2357532f74699799f0dbdae9111a741cd68c52 /src/flake8/options
parent92efb041d961ae4af0e5dcc0baadb0184258e1c1 (diff)
parent9788b87c91d3f3429e5b1ca0da4b2261b92bb8c3 (diff)
downloadflake8-97e492755568928d804d2172ba71db578f4a39c4.tar.gz
Merge branch 'per_file_ignore' into 'master'
Support more syntaxes in per-file-ignores Closes #471 See merge request pycqa/flake8!281
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: