From 04f852ca652ad9c8d8b0634c2e5d0e6eed40e408 Mon Sep 17 00:00:00 2001 From: solvire Date: Sun, 28 Feb 2016 01:18:33 -0800 Subject: [PATCH] pylint-django gets "no-member" error: known issue: implemented suggested workaround A known issue with pylint-django https://github.com/landscapeio/pylint-django/issues/53 https://github.com/christianmlong/personal/commit/2939cb1d1a08bda225441e0b5326228fb757ee15 Tested on: pylint==1.5.4 pylint-django==0.7.1 --- {{cookiecutter.repo_name}}/.pylintrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/{{cookiecutter.repo_name}}/.pylintrc b/{{cookiecutter.repo_name}}/.pylintrc index ce2204c9..1a199286 100644 --- a/{{cookiecutter.repo_name}}/.pylintrc +++ b/{{cookiecutter.repo_name}}/.pylintrc @@ -8,4 +8,7 @@ max-line-length=120 disable=missing-docstring,invalid-name [DESIGN] -max-parents=13 \ No newline at end of file +max-parents=13 + +[TYPECHECK] +generated-members=REQUEST,acl_users,aq_parent,"[a-zA-Z]+_set{1,2}",save,delete