Skip to content

Commit b5f1ef0

Browse files
committed
Dont save code before checking
1 parent 8a0bcc8 commit b5f1ef0

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

autoload/pymode/lint.vim

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ fun! pymode#lint#check() "{{{
4646

4747
let b:pymode_errors = {}
4848

49-
if !pymode#save()
50-
return 0
51-
endif
52-
5349
call pymode#wide_message('Code checking is running ...')
5450

5551
PymodePython code_check()

ftplugin/python/pymode.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ if !pymode#default('g:pymode_init', 1)
77
call pymode#init(expand('<sfile>:p:h:h:h'), g:pymode_paths)
88
call pymode#virtualenv#init()
99
call pymode#breakpoint#init()
10+
PymodePython from pymode.utils import patch_paths
11+
PymodePython patch_paths()
1012
endif
1113

1214
augroup pymode

0 commit comments

Comments
 (0)