Skip to content

Commit 914a989

Browse files
committed
Show the options when in debug mode.
1 parent 9b53ce0 commit 914a989

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

pep8.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
except ImportError:
1818
StandardReport = None
1919

20-
from SublimeLinter.lint import PythonLinter
20+
from SublimeLinter.lint import persist, PythonLinter
2121

2222

2323
if StandardReport is not None:
@@ -76,6 +76,9 @@ def check(self, code, filename):
7676

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

79+
if persist.settings.get('debug'):
80+
persist.printf('{} options: {}'.format(self.name, options))
81+
7982
checker = self.module.StyleGuide(**options)
8083

8184
return checker.input_file(

0 commit comments

Comments
 (0)