Skip to content

Commit f8cdd89

Browse files
committed
Respect to 'pymode_lint_ignore' when use command PymodeLintAuto
1 parent fbdb8ca commit f8cdd89

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

autoload/pymode/lint.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ fun! pymode#lint#auto() "{{{
44
if !pymode#save()
55
return 0
66
endif
7-
PymodePython pymode.auto()
7+
PymodePython from pymode import auto
8+
PymodePython auto()
89
cclose
910
edit
1011
call pymode#wide_message("AutoPep8 done.")

pymode/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ class Options(object):
1515
aggressive = 0
1616
line_range = None
1717
diff = False
18-
ignore = ''
18+
ignore = vim.eval('g:pymode_lint_ignore')
1919
in_place = True
2020
max_line_length = 79
2121
pep8_passes = 100
2222
recursive = False
23-
select = ''
23+
select = vim.eval('g:pymode_lint_select')
2424
verbose = 0
2525

2626
fix_file(vim.current.buffer.name, Options)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy