Skip to content

Commit 200a21a

Browse files
committed
Directly get 'all' from settings since it's always present
1 parent b2d0af5 commit 200a21a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def run(self, cmd, code):
4747

4848
if not (
4949
re.search(_flow_comment_re, code)
50-
or self.settings.get('all')
50+
or self.settings['all']
5151
):
5252
logger.info("did not find @flow pragma")
5353
return ''

0 commit comments

Comments
 (0)