meson/mesonbuild/modules
Eli Schwartz e8a85fa8a2
various python neatness cleanups
All changes were created by running

"pyupgrade --py3-only"

and committing the results. Although this has been performed in the
past, newer versions of pyupgrade can automatically catch more
opportunities, notably list comprehensions can use generators instead,
in the following cases:
- unpacking into function arguments as function(*generator)
- unpacking into assignments of the form x, y = generator
- as the argument to some builtin functions such as min/max/sorted

Also catch a few creeping cases of new code added using older styles.
2021-10-04 16:29:30 -04:00
..
__init__.py modules: make ReturnValue.new_objects covariant 2021-09-30 16:09:14 -07:00
cmake.py cmake module: if cmake cannot be found, do not traceback 2021-10-03 12:34:01 +02:00
dlang.py modules/dlang: Fix dependencies that should have been updated 2021-08-03 00:17:24 +03:00
fs.py modules/fs: Use typed_kwargs 2021-05-30 23:32:15 -07:00
gnome.py various python neatness cleanups 2021-10-04 16:29:30 -04:00
hotdoc.py docs: Hook up the new RefMan generator to Meson 2021-10-03 11:46:34 +02:00
i18n.py modules/i18n: fix gettext use of --datadirs param 2021-10-03 16:23:46 -04:00
java.py java module: fix FeatureNew version 2021-08-23 12:53:26 -04:00
keyval.py fix: Always explicitly set encoding for text files (fixes #8263) 2021-06-29 11:28:08 +02:00
modtest.py modules: Add methods dict everywhere 2021-05-28 15:17:10 -04:00
pkgconfig.py interpreter: Use typed_kwargs for func_custom_target 2021-09-30 21:01:38 +02:00
python.py modules: python: better handling of the Python paths for Debian 2021-09-29 08:54:05 -04:00
python3.py modules: Add methods dict everywhere 2021-05-28 15:17:10 -04:00
qt.py interpreter: Use typed_kwargs for func_custom_target 2021-09-30 21:01:38 +02:00
qt4.py qt module: rcc supports depfiles now, given a recent enough version of Qt5 2020-07-13 22:28:58 +00:00
qt5.py qt module: rcc supports depfiles now, given a recent enough version of Qt5 2020-07-13 22:28:58 +00:00
qt6.py Add Qt6 module 2021-02-07 22:43:00 +02:00
rpm.py fix: Always explicitly set encoding for text files (fixes #8263) 2021-06-29 11:28:08 +02:00
sourceset.py holders: Fix the remaining code to respect the holder changes 2021-06-18 23:48:33 +02:00
unstable_cuda.py various python neatness cleanups 2021-10-04 16:29:30 -04:00
unstable_external_project.py interpreter: Use typed_kwargs for func_custom_target 2021-09-30 21:01:38 +02:00
unstable_icestorm.py modules: Replace find_program_impl() by state.find_program() 2021-05-28 15:17:10 -04:00
unstable_rust.py modules/rust: fix initialize signature 2021-08-16 12:07:57 -07:00
unstable_simd.py holders: remove unholder 2021-06-18 23:48:33 +02:00
windows.py windows: Support wrc resource compiler 2021-07-07 18:54:45 +03:00