diff --git a/docs/source/user/configuration.rst b/docs/source/user/configuration.rst index b036eff..e6b3de8 100644 --- a/docs/source/user/configuration.rst +++ b/docs/source/user/configuration.rst @@ -284,7 +284,7 @@ the ``local-plugins`` section of your config: ./path/to Relative paths will be interpreted relative to the config file. Multiple paths -can be listed, one per line (or comma separated) as needed. If your local +can be listed (comma separated just like ``exclude``) as needed. If your local plugins have any dependencies, it's up to you to ensure they are installed in whatever Python environment |Flake8| runs in. diff --git a/src/flake8/options/config.py b/src/flake8/options/config.py index b5b42fb..ba9442a 100644 --- a/src/flake8/options/config.py +++ b/src/flake8/options/config.py @@ -350,8 +350,7 @@ def get_local_plugins(config_finder, cli_config=None, isolated=False): )) if config.has_option(section, 'paths'): raw_paths = utils.parse_comma_separated_list( - config.get(section, 'paths').strip(), - regexp=utils.LOCAL_PLUGIN_LIST_RE, + config.get(section, 'paths').strip() ) norm_paths = [] for base_dir in base_dirs: