mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-14 08:24:46 +00:00
parent
69ed788443
commit
be67f9784b
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ def get_style_guide(**kwargs):
|
||||||
|
|
||||||
if options.exclude and not isinstance(options.exclude, list):
|
if options.exclude and not isinstance(options.exclude, list):
|
||||||
options.exclude = pep8.normalize_paths(options.exclude)
|
options.exclude = pep8.normalize_paths(options.exclude)
|
||||||
else:
|
elif not options.exclude:
|
||||||
options.exclude = []
|
options.exclude = []
|
||||||
|
|
||||||
# Add pattersn in EXTRA_EXCLUDE to the list of excluded patterns
|
# Add pattersn in EXTRA_EXCLUDE to the list of excluded patterns
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue