forked from pylint-dev/pylint
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Puts issue pylint-dev#4118 under test
Taken in isolation, this commit may appear heavy-weight. The intent here is to have a linter run and retain all state information about that run so we can inspect what happened. What this commit shows is that the checkers the linter knows about have the right config, but still multi-job [MJ] runs are incorrect. see: assert checker.config.min_similarity_lines == min_similarity_lines I think the MJ failiures are because SimilarChecker.reduce_map_data() constructs a new SimilarChecker and then the linter doesn't call set_option(). The process by which the set_option() calls are made in the normal run is opaque to me, but perhaps someone else has a better idea(?).
- Loading branch information
1 parent
394060e
commit f9333f9
Showing
2 changed files
with
138 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters