131 Commits (68d620ea8eeaf4e6bfb23277586a053b3b074ebb)

Author SHA1 Message Date
Dylan Baker f83dca32fe interpreterbase: Use explicit `TypeAlias` annotation to allow recursive types 6 months ago
Eli Schwartz 29797f92f8
Feature checks: fall back to reporting insufficiently portable features 6 months ago
Eli Schwartz f2112d0baa
Revert "Clarify mutable objects usage" 8 months ago
Jussi Pakkanen 5365d9a842 Refactor option classes to their own file. 9 months ago
Eli Schwartz e5f32b7414 catch build files that cannot be opened in utf8 mode and emit useful error 10 months ago
Xavier Claessens 9f02d0a3e5 Clarify mutable objects usage 10 months ago
Charles Brunet bd4fd90730 parser: revert to single StringNode type 11 months ago
Charles Brunet 715dc27b2b Detect utf8 bom from meson build files 1 year ago
Dylan Baker e991c4d454 Use SPDX-License-Identifier consistently 1 year ago
Eli Schwartz fb1c6e32f4
Fine-tune the error message when trying to build outside the project root 1 year ago
Tristan Partin 88b337b77c
Remove unused code in interpreterbase 1 year ago
Charles Brunet 0f4891cdf4 parser: simplify Assignment and PlusAssignment nodes 1 year ago
Charles Brunet f13260dd43 parser: add ElseNode 1 year ago
Charles Brunet 8d357ba62c parser: use IdNode for foreach varnames 1 year ago
Charles Brunet 306562b466 parser: use IdNode for function name and assignment name 1 year ago
Charles Brunet 35936283d2 parser: preserve escape chars in strings 1 year ago
JCWasmx86 79ed2415e9 Add ParenthesizedNode 1 year ago
Eli Schwartz 90ce084144
treewide: automatic rewriting of all comment-style type annotations 2 years ago
Eli Schwartz a01418db0a
remove useless type annotations 2 years ago
Xavier Claessens cec3edc08a Unify message(), format() and fstring formatting 2 years ago
Eli Schwartz d4615369ff fix lint errors revealed by pycodestyle 2.11 2 years ago
Eli Schwartz 59af1d9026
force interpreter functions to actually receive tuple from typed posargs 2 years ago
Eli Schwartz 0bb1647fd1
move various bits of type-checking only code to TYPE_CHECKING blocks 2 years ago
Eli Schwartz 7afc69254d
fix implicit_reexport issues and enforce them going forward 2 years ago
Eli Schwartz f1a58a3ee6
remove unnecessary typing comments 2 years ago
Eli Schwartz d558291abe
add new FeatureBroken check class for annotating features that are really broken 2 years ago
Josh Soref cf9fd56bc9 fix various spelling issues 2 years ago
Eli Schwartz 8fc4649bfe
propagate the most accurate node to error messages 2 years ago
Eli Schwartz c91a6ad013 re-deduplicate feature warnings printed at the end of setup 2 years ago
Xavier Claessens 93c11f2494 typed_kwargs: Remove feature_validator as it's not currently used 2 years ago
Xavier Claessens 0f67913dee typed_kwargs: Extend since_values and deprecated_values for types 2 years ago
Eli Schwartz 314382d6ff
handle meson_version after parsing but before invalid project() kwargs 2 years ago
Eli Schwartz 878c1604e6
handle meson_version even when the build file fails to parse 2 years ago
Xavier Claessens f0dc61a764 interpreter: Add testcase..endtestcase clause support 2 years ago
Charles Brunet 5dbe49aa33 prevent unhandled exception for operations on None 2 years ago
Eli Schwartz a21af43200
micro-optimize: define typing-only objects in TYPE_CHECKING 2 years ago
Eli Schwartz 680b5ff819
treewide: add future annotations import 2 years ago
Dylan Baker eaf365cb3e decorators: don't unsort sorted values for printing 2 years ago
Dylan Baker c2e392d78d interpreter: add a feature_validator to KwargInfo 2 years ago
Dylan Baker a5d547e0d9
pylint: enable useless-return 2 years ago
Eli Schwartz e27653499a add option to typed_kwargs that allows unknown kwargs through 2 years ago
Eli Schwartz 78bf1ec56e
fix obscure crash on unbound variable 3 years ago
Dylan Baker 25a3eff797 interpreterbase: fix type annotations for KwargInfo::since_values 3 years ago
Eli Schwartz c1aeb2f7e4
typed_kwargs: support dict/list as "new since" types 3 years ago
Eli Schwartz 1c52ac4e15
move various imports into TYPE_CHECKING blocks for neatness 3 years ago
Eli Schwartz e5c7dc199a
typing: use forward reference for types defined later in file 3 years ago
Zbigniew Jędrzejewski-Szmek 8afdecb039 Reword message in warning 3 years ago
Zbigniew Jędrzejewski-Szmek 087e7943d0 Reword misleading warning 3 years ago
Peter Lesslie d771fc7d0b Add support for multiline f-strings 3 years ago
Eli Schwartz c231c4bd2a
move a bunch of imports into TYPE_CHECKING blocks 3 years ago