xlab-si / xopera-opera

xOpera orchestrator compliant with TOSCA YAML v1.3 in the making
https://xlab-si.github.io/xopera-docs/
Apache License 2.0
35 stars 14 forks source link

Increase maximum line length within Python code #163

Closed anzoman closed 3 years ago

anzoman commented 3 years ago

Description

Opera is written in Python and while coding it, we were trying to stick to the PEP8 coding guideline that also specifies that lines of code need to be wrapped to 79 characters. This wasn't a problem at first but now we have much more code and functionalities. It is evident that 79 is to little space for coding within opera and the developers need to worry about wrapping long lines. So, I propose extending the line limit from 79 to at least 120 characters which would result in more readable code and easier programming.

Steps

We have to reformat all Python files and adjust them to the new limit. This can be done efficiently within some IDE.

Current behaviour

Lines of Python code are limited to 79 characters.

Expected results

To extend the line-limit to 120 chars and increase code readability.


cc @sstanovnik