Skip to content

Commit

Permalink
Fix warnings related to deprecated options syntax (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
jparise committed Jul 15, 2022
1 parent 01bb344 commit e746ff5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changes
=======

0.13.1 - 2022-07-15
-------------------

* Fix warnings related to deprecated options syntax.

0.13.0 - 2022-06-22
-------------------

Expand Down
8 changes: 4 additions & 4 deletions src/pep8ext_naming.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
except ImportError:
from flake8.util import ast, iter_child_nodes

__version__ = '0.13.0'
__version__ = '0.13.1'

PYTHON_VERSION = sys.version_info[:3]

Expand Down Expand Up @@ -133,7 +133,7 @@ def add_options(cls, parser):
parse_from_config=True,
comma_separated_list=True,
help='List of names or glob patterns the pep8-naming '
'plugin should ignore. (Defaults to %default)',
'plugin should ignore. (Defaults to %(default)s)',
)
parser.add_option(
'--classmethod-decorators',
Expand All @@ -142,7 +142,7 @@ def add_options(cls, parser):
comma_separated_list=True,
help='List of method decorators pep8-naming plugin '
'should consider classmethods (Defaults to '
'%default)',
'%(default)s)',
)
parser.add_option(
'--staticmethod-decorators',
Expand All @@ -151,7 +151,7 @@ def add_options(cls, parser):
comma_separated_list=True,
help='List of method decorators pep8-naming plugin '
'should consider staticmethods (Defaults to '
'%default)',
'%(default)s)',
)
parser.extend_default_ignore(['N818'])

Expand Down

0 comments on commit e746ff5

Please sign in to comment.