From f7c4e619569f8ed35071ca2b3a0b511a5f199426 Mon Sep 17 00:00:00 2001 From: yoff Date: Tue, 2 Jun 2026 15:12:41 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- python/ql/lib/change-notes/2026-05-19-flask-subclasses.md | 2 +- python/ql/test/experimental/meta/InlineInstanceTest.qll | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/ql/lib/change-notes/2026-05-19-flask-subclasses.md b/python/ql/lib/change-notes/2026-05-19-flask-subclasses.md index e2c5db289c6..e0288351ddc 100644 --- a/python/ql/lib/change-notes/2026-05-19-flask-subclasses.md +++ b/python/ql/lib/change-notes/2026-05-19-flask-subclasses.md @@ -1,4 +1,4 @@ --- category: minorAnalysis --- -* `Flask::instance` will now also return instances of subclasses defined in te source tree. Previously, these were filtered out. `Flask::classRef` has been deprecated in favor of `Flask::subclassRef` since it already returned some subclasses. \ No newline at end of file +* `Flask::FlaskApp::instance()` will now also return instances of subclasses defined in the source tree. Previously, these were filtered out. `Flask::FlaskApp::classRef()` has been deprecated in favor of `Flask::FlaskApp::subclassRef()` since it already returned some subclasses. \ No newline at end of file diff --git a/python/ql/test/experimental/meta/InlineInstanceTest.qll b/python/ql/test/experimental/meta/InlineInstanceTest.qll index d89f6c5faad..c4ef66e3510 100644 --- a/python/ql/test/experimental/meta/InlineInstanceTest.qll +++ b/python/ql/test/experimental/meta/InlineInstanceTest.qll @@ -1,5 +1,5 @@ /** - * Defines a InlineExpectationsTest for class instances, that is, + * Defines an InlineExpectationsTest for class instances, that is, * for any API::Node that is an instance of a class (e.g. `Flask`). */