mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 02:46:52 +00:00
Fix AttributeError referring to enabled_extensions
Release v2.5.4
This commit is contained in:
parent
1845ec33ec
commit
e2d6f33151
3 changed files with 7 additions and 2 deletions
|
|
@ -1,6 +1,11 @@
|
|||
CHANGES
|
||||
=======
|
||||
|
||||
2.5.4 - 2016-02-11
|
||||
------------------
|
||||
|
||||
- **Bug** Missed an attribute rename during the v2.5.3 release.
|
||||
|
||||
2.5.3 - 2016-02-11
|
||||
------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
__version__ = '2.5.3'
|
||||
__version__ = '2.5.4'
|
||||
|
|
|
|||
|
|
@ -216,7 +216,7 @@ def _parse_multi_options(options, split_token=','):
|
|||
|
||||
def _disable_extensions(parser, options):
|
||||
ignored_extensions = set(getattr(parser, 'ignored_extensions', []))
|
||||
enabled = set(_parse_multi_options(options.enabled_extensions))
|
||||
enabled = set(_parse_multi_options(options.enable_extensions))
|
||||
|
||||
# Remove any of the selected extensions from the extensions ignored by
|
||||
# default.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue