Skip to content

Commit 42b5044

Browse files
committed
Use convenience method.
1 parent a6924fa commit 42b5044

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def check(self, code, filename):
5252

5353
self.build_options(options, type_map, transform=lambda s: s.replace('-', '_'))
5454

55-
if persist.settings.get('debug'):
55+
if persist.debug_mode():
5656
persist.printf('{} options: {}'.format(self.name, options))
5757

5858
checker = self.module.StyleGuide(**options)

0 commit comments

Comments
 (0)