dotfiles/vscode/.vscode/extensions/kevinrose.vsc-python-indent-1.18.0/node_modules/python-indent-parser
Errol Sancaktar ff17c17e23 vscode
2024-06-14 09:31:58 -06:00
..
lib vscode 2024-06-14 09:31:58 -06:00
CHANGELOG.md vscode 2024-06-14 09:31:58 -06:00
LICENSE vscode 2024-06-14 09:31:58 -06:00
package.json vscode 2024-06-14 09:31:58 -06:00
README.md vscode 2024-06-14 09:31:58 -06:00

python-indent-parser

Build Status

This package is the base parser for Atom's python-indent package to better handle Python indentation after a new line.

Indent Types

Both indent types for continuing lines as described in PEP 0008 -- Style Guide for Python Code are auto-detected and applied by this package.

  • Aligned with Opening Delimiter

    def function_with_lots_of_params(param_1, param_2,
                                     param_3, param_4,
                                     very_long_parameter_name,
                                     param_6)
    
  • Hanging

    def function_with_lots_of_params(
        param_1, param_2,
        param_3, param_4,
        very_long_parameter_name,
        param_6)