mikebryant / codeclimate-pylint

Pylint engine for codeclimate
GNU General Public License v3.0
1 stars 1 forks source link

do you have a config to disable stuff and enable stuff? #1

Closed DarthMDev closed 8 years ago

DarthMDev commented 8 years ago

just a double check :)

mikebryant commented 8 years ago

It will honour pylintrc files in the repo, as per http://docs.pylint.org/run.html#command-line-options

DarthMDev commented 8 years ago

so yes or no can you enable stuff and disable stuff like in pep8

mikebryant commented 8 years ago

Yes, you can

Option 1, .codeclimate.yml:

---
engines:
  pylint:
    enabled: true
    checks:
      abstract-method:
        enabled: false

Option 2, pylintrc Create a file in your repo at the top level called pylintrc

[MESSAGES CONTROL]
#enable=
disable=E1608,abstract-method,etc
``` - for the full syntax of this file run `pylint --generate-rcfile`