Files
openide/python/testData/grazie/Comments.py
Alexey Kudravtsev dfc5db43aa optimization: filter inspection by language more correct in tests
Provide correct EP for inspection tools even with inconsistent tool.getShortName() and shortName="" in plugin.xml.
That allows obtaining correct tool.getLanguage(), and avoid running irrelevant inspections.
E.g. CheckDtdRef inspection doesn't run in java-only tests anymore.

GitOrigin-RevId: 188e9d55686ca084611c5c89cb899874dd078010
2024-02-25 04:22:20 +01:00

17 lines
384 B
Python

# This is <GRAMMAR_ERROR descr="EN_A_VS_AN">a</GRAMMAR_ERROR> error
# (in a multiline comment
# with parentheses)
def foo():
"""
'OVERRIDE_JIRA_FIX_VERSIONS_TO_MERGE_REQUESTS'
Returns:
x: foo
"""
pass
def foo2(common_start=None):
# raise ValueError(f"For the {common_start} attributes, None is only permitted if they are both None.")
return 1