Skip to content

Commit

Permalink
Increase min-similarity-lines
Browse files Browse the repository at this point in the history
Increase the value to suppress the warning for common context
manager code.

I would have liked to disable the warning R0801 locally, but it
doesn't seem to be possible. See also
pylint-dev/pylint#214 .
  • Loading branch information
sschwarzer committed Jun 18, 2019
1 parent baa81d3 commit b14193b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ no-docstring-rgx=__.*__
[SIMILARITIES]

# Minimum lines number of a similarity.
min-similarity-lines=4
min-similarity-lines=5

# Ignore comments when computing similarities.
ignore-comments=yes
Expand Down

0 comments on commit b14193b

Please sign in to comment.