69 Commits (7191b6dab2b310adb93238bac804008e9c9757b8)

Author SHA1 Message Date
Eli Schwartz a21c7d54fb
fix stray typo 3 years ago
Eli Schwartz 4b2c54569d
clean up function signatures in preparation for dataclasses 3 years ago
Dylan Baker 762c504612 typed_kwargs: use | for type unions, not , 3 years ago
Dylan Baker ecc47d67a9 typed_kwargs: provide better error messages for wrong container types 3 years ago
Dylan Baker 1f6351461c typed_kwargs: move some closures around to increase code clarity 3 years ago
Eli Schwartz fae7a70292
FeatureDeprecated: add a notice summary of future deprecations 3 years ago
Eli Schwartz 8dbb0ee476
Feature kwargs decorator: automatically report the nodes which trigger an issue 3 years ago
Eli Schwartz 7a033c7887
add location support to feature checks 3 years ago
Eli Schwartz 038b31e72b
various manual conversion of percent-formatted strings to f-strings 3 years ago
Eli Schwartz 384151c541 migrate python 3.5 compatible superclass variable annotations to 3.6 3 years ago
Eli Schwartz f4b91c4306 Revert "mark a couple of typing-only imports as noqa, to appease pyflakes" 3 years ago
Eli Schwartz 8947352889 fix various flake8 whitespace errors 3 years ago
Daniel Mensinger 2d8da3cb11 interpreter: Fix missing featuer check (fixes #9425) 3 years ago
Christian Clauss a5020857f3 Fix typos discovered by codespell 3 years ago
Xavier Claessens 709d151eb9 typed_kwargs: Fix when ContainerTypeInfo is used in a tuple 3 years ago
Daniel Mensinger dfec4385a7 interpreter: Move RangeHolder out of interpreterbase to interpreter 3 years ago
Daniel Mensinger af0587cb49 interpreter: Holderify arrays and dicts 3 years ago
Eli Schwartz 4ab70c5512
fix extra whitespace 3 years ago
Dylan Baker 7e43432a0c interpreterbase/decorators: KwargIfno validator must take an relaxed type 3 years ago
Daniel Mensinger 6b00c7dc81 Remove helpers.check_stringlist() 3 years ago
Daniel Mensinger d93d01b6c5 interpreter: Introduce StringHolder 3 years ago
Eli Schwartz 6cc1b8441c
mark a couple of typing-only imports as noqa, to appease pyflakes 3 years ago
Daniel Mensinger 43302d3296 interpreter: Introduce BooleanHolder for the bool primitive 3 years ago
Daniel Mensinger 86eda3c812 interpreter: Simplify Disabler logic 3 years ago
Daniel Mensinger 80bd35c646 interpreter: Remove the AND and OR operator enums 3 years ago
Daniel Mensinger 43a6b5bd5e interpreter: Remove permissive from _unholder 3 years ago
Daniel Mensinger 8d92e6d865 interpreter: Add IntegerHolder 3 years ago
Daniel Mensinger 86f70c873a interpreter: Introduce operators support for InterpreterObjects 3 years ago
Daniel Mensinger a6c9a151d3 interpreter: Make comparisons of different types a hard error 3 years ago
Dylan Baker 4d7031437c pylint: turn on superflous-parens 3 years ago
Xavier Claessens 88a1bed81b decorators: Make unknown kwarg fatal 3 years ago
Xavier Claessens f8cfd91d71 Simplify get_callee_args 3 years ago
Dylan Baker ce392acad4 interpreterbase: ensure that the default vaule to KwargInfo is a valid type 3 years ago
Eli Schwartz 2a7125928e
use even more informative error message for invoking meson in a subdir 3 years ago
Eli Schwartz 5a7b8d86d0 use a more informative error message for invoking meson in a subdir 3 years ago
Dylan Baker 580f316043 interperterbase: help type checkers do better type deduction 3 years ago
Dylan Baker d8d09138c7 interpreter: allow KwargInfo.evolve to change the name as well 3 years ago
Tristan Partin 1dc13e9951 Add unset_variable() 3 years ago
Daniel Mensinger 5c87167a34 interpreter: Fix list contains for Holders (fixes #9020 #9047) 3 years ago
Dylan Baker 386b312fa9 interpreterbase/decorators: fix typed_kwargs return type 3 years ago
Xavier Claessens 0183954ea1 Fix meson.version().version_compare() regression in subproject 3 years ago
Daniel Mensinger ca6683095d fix: Fix recursive _unholder permissive kwarg (fixes #8977) 3 years ago
Eli Schwartz bd6f46e723 condense lines 3 years ago
Eli Schwartz dd31891c1f more f-strings too complex to be caught by pyupgrade 3 years ago
Daniel Mensinger 971a0b1775 fix: get_variable default variables are not ObjectHolders (fixes #8936) 3 years ago
Daniel Mensinger 3e396b3782
fix: Always explicitly set encoding for text files (fixes #8263) 3 years ago
Daniel Mensinger 8f7343831b refactor: Refactor BothLibraries logic 3 years ago
Dylan Baker dd296f321b interpreterbase: Add evolve to KwargInfo 3 years ago
Daniel Mensinger 5cd9f88d6c fix: Ensure that build targets have all methods from ExternalProgram 3 years ago
Daniel Mensinger 0358445b6e
fix: dicts and list need _holderify for fallback 3 years ago