Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb19c6d2

Browse files
committed
style: pylint changed to 2.14, adapt.
1 parent35cdddb commitb19c6d2

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

‎coverage/data.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def line_counts(data, fullpath=False):
3030
"""
3131
summ= {}
3232
iffullpath:
33+
# pylint: disable=unnecessary-lambda-assignment
3334
filename_fn=lambdaf:f
3435
else:
3536
filename_fn=os.path.basename

‎pylintrc‎

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ ignore=
2525
# Pickle collected data for later comparisons.
2626
persistent=no
2727

28-
# Set the cache size for astng objects.
29-
cache-size=500
30-
3128
# List of plugins (as comma separated values of python modules names) to load,
3229
# usually to register additional checkers.
3330
load-plugins=
@@ -61,15 +58,11 @@ disable=
6158
# Messages that are just silly:
6259
locally-disabled,
6360
exec-used,
64-
no-init,
65-
bad-whitespace,
6661
global-statement,
6762
broad-except,
6863
no-else-return,
69-
misplaced-comparison-constant,
7064
subprocess-run-check,
7165
# Messages that may be silly:
72-
no-self-use,
7366
no-member,
7467
using-constant-test,
7568
too-many-nested-blocks,
@@ -83,7 +76,6 @@ disable=
8376
consider-using-with,
8477
# Formatting stuff
8578
superfluous-parens,
86-
bad-continuation,
8779
# Messages that are noisy for now, eventually maybe we'll turn them on:
8880
invalid-name,
8981
protected-access,
@@ -100,11 +92,6 @@ msg-template={path}:{line} {C}: {msg} ({symbol})
10092
# (visual studio) and html
10193
output-format=text
10294

103-
# Put messages in a separate file for each module / package specified on the
104-
# command line instead of printing them on stdout. Reports (if any) will be
105-
# written in a file name "pylint_global.[txt|html]".
106-
files-output=no
107-
10895
# Tells whether to display a full report or only the messages
10996
reports=no
11097

@@ -180,9 +167,6 @@ good-names=i,j,k,ex,Run,_
180167
# Bad variable names which should always be refused, separated by a comma
181168
bad-names=foo,bar,baz,toto,tutu,tata
182169

183-
# List of builtins function names that should not be used, separated by a comma
184-
bad-functions=
185-
186170

187171
# try to find bugs in the code using type inference
188172
#
@@ -196,10 +180,6 @@ ignore-mixin-members=yes
196180
# (useful for classes with attributes dynamically set).
197181
ignored-classes=SQLObject
198182

199-
# List of members which are usually get through zope's acquisition mechanism and
200-
# so shouldn't trigger E0201 when accessed (need zope=yes to be considered).
201-
acquired-members=REQUEST,acl_users,aq_parent
202-
203183

204184
# checks for
205185
# * unused variables / imports

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp