Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pylint: Fix consider-iterating-dictionary
> Emitted when the keys of a dictionary are iterated through the ``.keys()`` method or when ``.keys()`` is used for a membership check. It is enough to iterate through the dictionary itself, ``for key in dictionary``. For membership checks, ``if key in dictionary`` is faster. See pylint-dev/pylint#4069 Fixes: #279 Signed-off-by: Stanislav Levin <slev@altlinux.org>
- Loading branch information