Skip to content

Instantly share code, notes, and snippets.

@chuyik

chuyik/.pylint

Last active Dec 7, 2020
Embed
What would you like to do?
Recommended PyLint Configuration
# Based on:
# https://github.com/kpreid/shinysdr/blob/master/pylintrc
[MASTER]
# XXX should be changed to your project folder
# see http://stackoverflow.com/a/37238692/3828891 for explanation
init-hook='base_dir="XXX"; import sys,os,re; _re=re.search(r".+\/" + base_dir, os.getcwd()); project_dir = _re.group() if _re else os.path.join(os.getcwd(), base_dir); sys.path.append(project_dir)'
[MESSAGES CONTROL]
# Find available symbolic names in:
# https://docs.pylint.org/features.html
disable=locally-disabled,trailing-whitespace,fixme,missing-docstring,protected-access,invalid-name,super-init-not-called,star-args,no-self-argument,inherit-non-class,no-method-argument,no-self-use,unused-argument,too-many-return-statements,too-many-branches,too-many-function-args,too-many-instance-attributes,too-many-locals,bad-continuation,unnecessary-lambda,redefined-variable-type,global-statement,line-too-long,mixed-indentation,bad-whitespace,missing-final-newline
@agotsis

This comment has been minimized.

Copy link

@agotsis agotsis commented Jun 11, 2018

The location of the list of symbolic names has changed to:
https://pylint.readthedocs.io/en/latest/technical_reference/features.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment