-
Couldn't load subscription status.
- Fork 89
PyCharm Usage
Brendan Maginnis edited this page Mar 6, 2020
·
11 revisions
There are 3 options:
- Press
Alt+Enteron the suggested refactoring and apply the refactoring - Hover the mouse over the refactoring and a lightbulb will appear. Click the lightbulb and apply the refactoring.
- Right click on the suggested refactoring in the Sourcery window and select the
Refactor functionoption
There are 3 options:
- Add this comment to the function definition:
# sourcery off.
For example:def func(a, b): # sourcery off return a + b
- Press Alt+Enter on the suggested refactoring and select the
Disable Sourcery for this functionoption - Right click on the suggested refactoring in the code editor and select the
Disable Sourcery for this functionoption
Please visit our newer docs at https://docs.sourcery.ai