Update Python coding guidelines authored by Moreau Nicolas's avatar Moreau Nicolas
......@@ -11,21 +11,21 @@ Continuation lines should align wrapped elements either vertically using Python'
Correct:
`# Aligned with opening delimiter.`
```# Aligned with opening delimiter.
`foo = long_function_name(var_one, var_two,`
foo = long_function_name(var_one, var_two,
` var_three, var_four)`
var_three, var_four)```
`# Add 4 spaces (an extra level of indentation) to distinguish arguments from the rest.`
# Add 4 spaces (an extra level of indentation) to distinguish arguments from the rest.`
`def long_function_name(`
```def long_function_name(
` var_one, var_two, var_three,`
var_one, var_two, var_three,
` var_four):`
var_four):
` print(var_one)`
print(var_one)```
`# Hanging indents should add a level.`
......
......