diff options
author | Eric McDonald <221418+emcd@users.noreply.github.com> | 2022-11-18 02:05:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-18 11:05:24 +0100 |
commit | 7b82cc82c857b78316b3f8cc13f702eea8704efb (patch) | |
tree | 8dd1de4b50dacadeb8064bad445bee52a55060b4 /.pyenchant_pylint_custom_dict.txt | |
parent | 83d9fdc5dbc4bd3afb00fc57357c8b255d102d78 (diff) | |
download | pylint-git-7b82cc82c857b78316b3f8cc13f702eea8704efb.tar.gz |
Deduplicate module file paths to prevent redundant scans. (#7747)
* Use dict for 'expand_modules' result rather than list.
With 'path' as the key, we get deduplication for free
and do not need to reprocess the list for deduplication later.
* Fix deduplication to account for CLI args marker.
* Fix corner case with CLI arg flag handling during deduplication.
* Add 'deduplication' to custom Pyenchant dict.
Closes #6242
Closes #4053
Co-authored-by: Eric McDonald <emcd@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to '.pyenchant_pylint_custom_dict.txt')
-rw-r--r-- | .pyenchant_pylint_custom_dict.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.pyenchant_pylint_custom_dict.txt b/.pyenchant_pylint_custom_dict.txt index 2b8e846a5..29f42e332 100644 --- a/.pyenchant_pylint_custom_dict.txt +++ b/.pyenchant_pylint_custom_dict.txt @@ -74,6 +74,7 @@ cyclomatic dataclass datetime debian +deduplication deepcopy defaultdicts defframe |