autopep8
autopep8 copied to clipboard
List with negative integers not formatted correctly
very_long_variable_name = [1231980429, -23183829038120, -32189308390, -1382928391083290, 18239018391203892, -78129380391839201, 714128390283, -23138290831]
gets simplified to
very_long_variable_name = [1231980429, -
23183829038120, -
32189308390, -
1382928391083290, 18239018391203892, -
78129380391839201, 714128390283, -
23138290831]
This is not as expected.
Command Line and Configuration
Command Line
$ autopep8 -a file.py
Your Environment
- Python version: Python 3.7.8
- autopep8 version: autopep8 1.5.6 (pycodestyle: 2.7.0)
- Platform: macOS