Changeset 1814:2f7af0774ec8


Ignore:
Timestamp:
Jun 18, 2019, 8:15:01 AM (2 months ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Increase `min-similarity-lines`

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
https://github.com/PyCQA/pylint/issues/214 .
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pylintrc

    r1813 r1814  
    149149
    150150# Minimum lines number of a similarity.
    151 min-similarity-lines=4
     151min-similarity-lines=5
    152152
    153153# Ignore comments when computing similarities.
Note: See TracChangeset for help on using the changeset viewer.