Inline if else expressions are not indented
Open
- Dominant language
- Python
- Stars
- 14k
- Forks
- 904
- PR merge metrics
- No merged PRs in 30d
Description
I'm using yapf --style google.
I think that the lack of indentation for the if else expression makes the formatted code confusing.
```python
task_factory = _dynamic.create_function_from_parameters(
func_name=name,
func_filename=component_filename if
(component_filename and
(component_filename.endswith('.yaml') or
component_filename.endswith('.yml'))) else None,
)
```
Contributor guide
Assessment
This issue has not been assessed yet.