Files
openide/python/testData/formatter/noAlignmentAfterDictHangingIndentInFunctionCallOnTyping.py
Mikhail Golubev 697afe15ec PY-14838, PY-13955 Do not align function arguments when first of them contains "hanging indent"
Regardless of option "Align multiline call arguments", alignment should
take place only when there is no, so called, "hanging indent" in function
call (see PEP-8). In accordance to behavior of 'pep8' utility several such
indents at the end of line are collapsed into one. E.g. fragment
'func([{\n' is considered as having "hanging indent" both for function
call, list and dict literals.
2015-01-19 21:41:13 +03:00

4 lines
82 B
Python

handler = webapp2.WSGIApplication([
('/', UserHandler),<caret>
], debug=True)