meson/mesonbuild/compilers
Eli Schwartz 4340bf34fa
various python neatness cleanups
All changes were created by running

"pyupgrade --py3-only --keep-percent-format"

and committing the results. I have not touched string formatting for
now.

- use set literals
- simplify .format() parameter naming
- remove __future__
- remove default "r" mode for open()
- use OSError rather than compatibility aliases
- remove stray parentheses in function(generator) scopes
2021-03-04 17:11:26 -05:00
..
mixins various python neatness cleanups 2021-03-04 17:11:26 -05:00
__init__.py use PEP8 style naming for LANGUAGES_USING_* as well 2021-01-11 11:15:06 -08:00
c.py split mesonlib into a package 2021-01-23 12:48:29 +01:00
c_function_attributes.py compiler: add 'force_align_arg_pointer' function attribute 2020-06-21 23:34:11 +03:00
compilers.py various python neatness cleanups 2021-03-04 17:11:26 -05:00
cpp.py move handling of CFLAGS and friends to environment 2021-01-11 11:15:06 -08:00
cs.py compilers/cs: Add type annotations 2020-10-01 15:05:00 -07:00
cuda.py various python neatness cleanups 2021-03-04 17:11:26 -05:00
d.py various python neatness cleanups 2021-03-04 17:11:26 -05:00
fortran.py move OptionKey to mesonlib 2021-01-04 12:20:40 -08:00
java.py compilers: make get_optimization_args abstract 2020-10-01 15:06:10 -07:00
objc.py use OptionKey for compiler_options 2021-01-04 12:20:39 -08:00
objcpp.py use OptionKey for compiler_options 2021-01-04 12:20:39 -08:00
rust.py use OptionKey for builtin and base options 2021-01-04 12:20:40 -08:00
swift.py use OptionKey for compiler_options 2021-01-04 12:20:39 -08:00
vala.py use OptionKey for builtin and base options 2021-01-04 12:20:40 -08:00