Files
openide/python/testData/inspections/PyNestedDecoratorsInspection/expected.xml
T
Marcus Mewsandintellij-monorepo-bot f35ff1b00a PY-34368: False warning "This decorator will not receive a callable it may expect" when @classmethod is not the last applied
- improve inspection to respect unaffected decorators wrt. classmethod/staticmethod
- improve inspection message
- add tests

GitOrigin-RevId: 0eb431ae1aa2c40fa9056f7032936bb05bf8c32b
2025-06-21 11:11:50 +00:00

34 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<problems>
<problem>
<file>decorated.py</file>
<line>28</line>
<description>This decorator will not receive the callable it may expect; the previously called decorator 'classmethod' returns a special object</description>
</problem>
<problem>
<file>decorated.py</file>
<line>33</line>
<description>This decorator will not receive the callable it may expect; the previously called decorator 'staticmethod' returns a special object</description>
</problem>
<problem>
<file>decorated.py</file>
<line>38</line>
<description>This decorator will not receive the callable it may expect; the previously called decorator 'staticmethod' returns a special object</description>
</problem>
<problem>
<file>decorated.py</file>
<line>43</line>
<description>This decorator will not receive the callable it may expect; the previously called decorator 'classmethod' returns a special object</description>
</problem>
<problem>
<file>decorated.py</file>
<line>50</line>
<description>This decorator will not receive the callable it may expect; the previously called decorator 'classmethod' returns a special object</description>
</problem>
<problem>
<file>decorated.py</file>
<line>61</line>
<description>This decorator will not receive the callable it may expect; the previously called decorator 'classmethod' returns a special object</description>
</problem>
</problems>