The logic around subscripts is getting a bit tangled due to changes in the AST between Python versions. We might want to look at factoring it out, if possible (see https://github.com/PyCQA/flake8-pyi/pull/90/files#r785534189)