Skip to content

Commit cec26a7

Browse files
committed
More strong linter checking
1 parent a5d0e00 commit cec26a7

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

doc/pymode.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ This option sets code checkers.
196196
Values: IDs of errors, separated by commas or empty strings
197197
E.g. "E501,W002", "E2,W" (Skip all Warnings and Errors startswith E2) and etc ~
198198

199-
Default: "E501".
199+
Default: "".
200200

201201
Skip errors and warnings.
202202
See also: |'pymode_lint_select'|, |'pymode_lint_config'|

plugin/pymode.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ if !pymode#Default("g:pymode_lint", 1) || g:pymode_lint
9191
call pymode#Default("g:pymode_lint_maxheight", 6)
9292

9393
" OPTION: g:pymode_lint_ignore -- string. Skip errors and warnings (e.g. E4,W)
94-
call pymode#Default("g:pymode_lint_ignore", "E501")
94+
call pymode#Default("g:pymode_lint_ignore", "")
9595

9696
" OPTION: g:pymode_lint_select -- string. Select errors and warnings (e.g. E4,W)
9797
call pymode#Default("g:pymode_lint_select", "")

pylint.ini

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#
55
# C0103: Invalid name "%s" (should match %s)
66
# C0111: Missing docstring
7-
# C0301: Line too long (%s/%s)
8-
# E1002: Use super on an old style class
97
# E1101: %s %r has no %r member
108
# R0901: Too many ancestors (%s/%s)
119
# R0902: Too many instance attributes (%s/%s)
@@ -15,15 +13,13 @@
1513
# R0915: Too many statements (%s/%s)
1614
# W0141: Used builtin function %r
1715
# W0142: Used * or ** magic
18-
# W0212: Access to a protected member %s of a client class
1916
# W0221: Arguments number differs from %s method
20-
# W0223: Method %r is abstract in class %r but is not overridden
2117
# W0232: Class has no __init__ method
2218
# W0401: Wildcard import %s
2319
# W0613: Unused argument %r
2420
# W0631: Using possibly undefined loop variable %r
2521
#
26-
disable = C0103,C0111,C0301,E1002,E1101,R0901,R0902,R0903,R0904,R0913,R0915,W0141,W0142,W0212,W0221,W0223,W0232,W0401,W0613,W0631
22+
disable = C0103,C0111,E1101,R0901,R0902,R0903,R0904,R0913,R0915,W0141,W0142,W0221,W0232,W0401,W0613,W0631
2723

2824
[TYPECHECK]
2925
generated-members = REQUEST,acl_users,aq_parent,objects,DoesNotExist,_meta,status_code,content,context

0 commit comments

Comments
 (0)