mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
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
17 lines
384 B
Python
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 |