meson/mesonbuild/cmake
Dylan Baker 2d349eae8c
pylint: enable the set_membership plugin
Which adds the `use-set-for-membership` check. It's generally faster in
python to use a set with the `in` keyword, because it's a hash check
instead of a linear walk, this is especially true with strings, where
it's actually O(n^2), one loop over the container, and an inner loop of
the strings (as string comparison works by checking that `a[n] == b[n]`,
in a loop).

Also, I'm tired of complaining about this in reviews, let the tools do
it for me :)
2022-11-30 16:23:29 -05:00
..
data port from embedded data to importlib.resources 2022-01-10 18:36:57 -05:00
__init__.py cmake: Drop CMake server support and bump min. CMake to >= 3.14 2022-02-03 11:25:59 -05:00
common.py pylint: enable the set_membership plugin 2022-11-30 16:23:29 -05:00
executor.py Fix purely white space issues reported by flake8 2022-08-26 17:12:40 -04:00
fileapi.py Fix purely white space issues reported by flake8 2022-08-26 17:12:40 -04:00
generator.py pylint: enable the set_membership plugin 2022-11-30 16:23:29 -05:00
interpreter.py pylint: enable the set_membership plugin 2022-11-30 16:23:29 -05:00
toolchain.py compilers: don't use instance checks to determine properties 2022-09-19 15:18:59 -04:00
traceparser.py pylint: enable the set_membership plugin 2022-11-30 16:23:29 -05:00
tracetargets.py Fix crash when toolchain is missing 2022-11-29 01:48:27 +02:00