aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreterbase
AgeCommit message (Expand)AuthorFilesLines
2023-02-06micro-optimize: define typing-only objects in TYPE_CHECKINGEli Schwartz1-20/+18
2023-02-06treewide: add future annotations importEli Schwartz2-0/+2
2022-12-05interpreter: add a feature_validator to KwargInfoDylan Baker1-0/+9
2022-11-29pylint: enable useless-returnDylan Baker1-1/+0
2022-10-24add option to typed_kwargs that allows unknown kwargs throughEli Schwartz1-6/+7
2022-08-30fix obscure crash on unbound variableEli Schwartz1-4/+5
2022-08-18interpreterbase: fix type annotations for KwargInfo::since_valuesDylan Baker1-4/+4
2022-06-17typed_kwargs: support dict/list as "new since" typesEli Schwartz1-6/+12
2022-05-23move various imports into TYPE_CHECKING blocks for neatnessEli Schwartz1-1/+7
2022-05-23typing: use forward reference for types defined later in fileEli Schwartz1-2/+2
2022-05-19Reword message in warningZbigniew Jędrzejewski-Szmek1-2/+2
2022-05-19Reword misleading warningZbigniew Jędrzejewski-Szmek1-2/+2
2022-05-01Add support for multiline f-stringsPeter Lesslie1-1/+8
2022-03-07move a bunch of imports into TYPE_CHECKING blocksEli Schwartz3-7/+11
2022-03-07treewide: string-quote the first argument to T.castEli Schwartz1-11/+11
2022-03-07merge various TYPE_CHECKING blocks into oneEli Schwartz2-18/+18
2022-03-01clean up FeatureCheck signature to move location to use timeEli Schwartz1-13/+11
2022-03-01remove useless kwarg that was never usedEli Schwartz1-2/+1
2022-02-16flake8: use plain strings instead of f-strings when no variables usedEli Schwartz1-1/+1
2022-02-14FeatureNew: add mypy type annotations for subproject argEli Schwartz4-6/+15
2022-01-27flake8: fix indentation styleEli Schwartz1-1/+1
2022-01-10first pass at migrating to dataclassesEli Schwartz1-3/+5
2021-12-06decorators: fold some duplicated code into a closureDylan Baker1-26/+17
2021-12-06add message option to since_values and deprecated_valuesDylan Baker1-6/+15
2021-12-06Add deprecated_message and since_message to KwargInfoDylan Baker1-6/+17
2021-12-06interpreterbase/decorators: Fix types of deprecated_values and since_valuesDylan Baker1-2/+3
2021-12-05fix stray typoEli Schwartz1-1/+1
2021-12-05clean up function signatures in preparation for dataclassesEli Schwartz1-4/+4
2021-11-22typed_kwargs: use | for type unions, not ,Dylan Baker1-4/+4
2021-11-22typed_kwargs: provide better error messages for wrong container typesDylan Baker1-1/+13
2021-11-22typed_kwargs: move some closures around to increase code clarityDylan Baker1-21/+24
2021-11-20FeatureDeprecated: add a notice summary of future deprecationsEli Schwartz1-5/+30
2021-11-20Feature kwargs decorator: automatically report the nodes which trigger an issueEli Schwartz1-9/+11
2021-11-20add location support to feature checksEli Schwartz1-11/+14
2021-11-01various manual conversion of percent-formatted strings to f-stringsEli Schwartz1-5/+5
2021-11-01migrate python 3.5 compatible superclass variable annotations to 3.6Eli Schwartz1-3/+1
2021-10-27Revert "mark a couple of typing-only imports as noqa, to appease pyflakes"Eli Schwartz1-3/+1
2021-10-27fix various flake8 whitespace errorsEli Schwartz2-2/+3
2021-10-24interpreter: Fix missing featuer check (fixes #9425)Daniel Mensinger1-0/+6
2021-10-10Fix typos discovered by codespellChristian Clauss3-7/+7
2021-10-09typed_kwargs: Fix when ContainerTypeInfo is used in a tupleXavier Claessens1-35/+52
2021-10-06interpreter: Move RangeHolder out of interpreterbase to interpreterDaniel Mensinger2-25/+0
2021-10-06interpreter: Holderify arrays and dictsDaniel Mensinger4-419/+131
2021-10-04fix extra whitespaceEli Schwartz2-2/+0
2021-09-30interpreterbase/decorators: KwargIfno validator must take an relaxed typeDylan Baker1-1/+1
2021-09-25Remove helpers.check_stringlist()Daniel Mensinger5-22/+24
2021-09-25interpreter: Introduce StringHolderDaniel Mensinger4-127/+19
2021-09-14mark a couple of typing-only imports as noqa, to appease pyflakesEli Schwartz1-1/+3
2021-09-01interpreter: Introduce BooleanHolder for the bool primitiveDaniel Mensinger3-66/+68
2021-09-01interpreter: Simplify Disabler logicDaniel Mensinger2-16/+8