-
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[language-python] Fix some indentation corner cases…
…like indentation after a comment… if foo: # something …and not indenting on one-liners… if foo: pass …and not indenting after list slice syntax: x[1:2] Also added specs for Python indentation, as it's getting somewhat complex.
- Loading branch information
1 parent
a5fccfc
commit 69ed04f
Showing
3 changed files
with
408 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module.exports = { | ||
env: { jasmine: true }, | ||
globals: { | ||
waitsForPromise: true, | ||
runGrammarTests: true, | ||
runFoldsTests: true | ||
}, | ||
rules: { | ||
"node/no-unpublished-require": "off", | ||
"node/no-extraneous-require": "off", | ||
"no-unused-vars": "off", | ||
"no-empty": "off" | ||
} | ||
}; |
Oops, something went wrong.