vim-syntastic / syntastic

Syntax checking hacks for vim
Do What The F*ck You Want To Public License
11.3k stars 1.14k forks source link

Snake case error #2340

Closed Gako358 closed 4 years ago

Gako358 commented 4 years ago

I write in both python and C, my problem is in python i use camel case variables and functions names, then it fills my error tab with each function name and variable name not being snake case. How can i fix this?

In python i am using pylint, if that have anything to say?

lcd047 commented 4 years ago

Find out what checker produces those errors and configure it accordingly. Syntastic doesn't care about the contents of your files, it just runs third-party linters and shows you the results in a window. It's up to you to configure said linters to give you useful results.

Gako358 commented 4 years ago

Hey, thanks for replying. I am using pylint, and how to i configure it?

lcd047 commented 4 years ago

You can tell syntastic to pass options to pylint on the command line (see :h syntastic-config-makeprg and :h syntastic-debug), or you can pass options in a pylintrc. Beyond that, perhaps consider reading pylint's manual?