Skip to content

Commit e746ff5

Browse files
authored
Fix warnings related to deprecated options syntax (#205)
1 parent 01bb344 commit e746ff5

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Changes
22
=======
33

4+
0.13.1 - 2022-07-15
5+
-------------------
6+
7+
* Fix warnings related to deprecated options syntax.
8+
49
0.13.0 - 2022-06-22
510
-------------------
611

src/pep8ext_naming.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
except ImportError:
1414
from flake8.util import ast, iter_child_nodes
1515

16-
__version__ = '0.13.0'
16+
__version__ = '0.13.1'
1717

1818
PYTHON_VERSION = sys.version_info[:3]
1919

@@ -133,7 +133,7 @@ def add_options(cls, parser):
133133
parse_from_config=True,
134134
comma_separated_list=True,
135135
help='List of names or glob patterns the pep8-naming '
136-
'plugin should ignore. (Defaults to %default)',
136+
'plugin should ignore. (Defaults to %(default)s)',
137137
)
138138
parser.add_option(
139139
'--classmethod-decorators',
@@ -142,7 +142,7 @@ def add_options(cls, parser):
142142
comma_separated_list=True,
143143
help='List of method decorators pep8-naming plugin '
144144
'should consider classmethods (Defaults to '
145-
'%default)',
145+
'%(default)s)',
146146
)
147147
parser.add_option(
148148
'--staticmethod-decorators',
@@ -151,7 +151,7 @@ def add_options(cls, parser):
151151
comma_separated_list=True,
152152
help='List of method decorators pep8-naming plugin '
153153
'should consider staticmethods (Defaults to '
154-
'%default)',
154+
'%(default)s)',
155155
)
156156
parser.extend_default_ignore(['N818'])
157157

0 commit comments

Comments
 (0)