aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-08-28 10:53:14 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2022-08-29 23:32:43 +0300
commitc5db96e0516a9ed83e7d46ec0d8bc68760e229d8 (patch)
tree8e0a0b6f162ca74661051ff854d60ff2ac48f9d9 /mesonbuild/compilers
parentf4cc60bf20ff5c365950d54f2f420d2f837181af (diff)
downloadmeson-c5db96e0516a9ed83e7d46ec0d8bc68760e229d8.zip
meson-c5db96e0516a9ed83e7d46ec0d8bc68760e229d8.tar.gz
meson-c5db96e0516a9ed83e7d46ec0d8bc68760e229d8.tar.bz2
flake8: fix typing casts to not have actual objects
We use `__future__.annotations` to good effect everywhere we can, and one of the effects of this is that annotations are automatically stringized and don't need to be evaluated, using less memory and computation. But this only affects actual annotations -- a cast is just a function with an argument, so the compiler has no idea that it's an annotation to be stringized. Do this manually.
Diffstat (limited to 'mesonbuild/compilers')
0 files changed, 0 insertions, 0 deletions