diff options
author | Camil Staps | 2016-05-03 14:50:09 +0200 |
---|---|---|
committer | Camil Staps | 2016-11-30 19:11:43 +0100 |
commit | 82d1bf014082e08fc608976b96d689d65a858700 (patch) | |
tree | eee095e5d068ad062f203294f1adade9b4903adc | |
parent | gitconfig (diff) |
pylint fixes; syntastic python checker sucks
-rwxr-xr-x | bin/pylint.sh | 2 | ||||
-rw-r--r-- | vim/vimrc.symlink | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/pylint.sh b/bin/pylint.sh index 28087c7..546f8c8 100755 --- a/bin/pylint.sh +++ b/bin/pylint.sh @@ -7,7 +7,7 @@ then return fi -if [ "$PYMAJOR" <> "2" ] && [ "$PYMAJOR" <> "3" ] +if [[ "$PYMAJOR" != "2" ]] && [[ "$PYMAJOR" != "3" ]] then PYMAJOR=2 grep '#!.*python3' "${@: -1}" >/dev/null && PYMAJOR=3 diff --git a/vim/vimrc.symlink b/vim/vimrc.symlink index 1962d89..b90f0cb 100644 --- a/vim/vimrc.symlink +++ b/vim/vimrc.symlink @@ -46,7 +46,7 @@ let g:syntastic_auto_loc_list = 1 let g:syntastic_check_on_open = 1 let g:syntastic_check_on_wq = 0 -let g:syntastic_python_checkers = ['pylint', 'pep8', 'python'] +let g:syntastic_python_checkers = ['pylint', 'pep8'] let g:syntastic_python_pylint_exec = 'pylint.sh' let g:syntastic_python_pylint_args = '--guess' |