-
-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Black formatting discrepancies with .pyi files. Fixes #PyDev-1224
- Loading branch information
Showing
7 changed files
with
92 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 10 additions & 1 deletion
11
plugins/org.python.pydev.core/src/org/python/pydev/core/IPyFormatStdProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,24 @@ | ||
package org.python.pydev.core; | ||
|
||
import java.io.File; | ||
|
||
import org.eclipse.core.runtime.IAdaptable; | ||
|
||
public interface IPyFormatStdProvider extends IAdaptable { | ||
|
||
Object /*FormatStd*/getFormatStd(); | ||
Object /*FormatStd*/ getFormatStd(); | ||
|
||
IPythonNature getPythonNature() throws MisconfigurationException; | ||
|
||
IGrammarVersionProvider getGrammarVersionProvider(); | ||
|
||
IIndentPrefs getIndentPrefs(); | ||
|
||
/** | ||
* The editor file is needed because different file extensions may | ||
* have different formatting applied (i.e.: .py, .pyi). | ||
* | ||
* Note that it may return null (especially in tests). | ||
*/ | ||
File getEditorFile(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters