ansible-mikrotik icon indicating copy to clipboard operation
ansible-mikrotik copied to clipboard

Decide on (and convert to) indentation style

Open CFSworks opened this issue 7 years ago • 3 comments

Some Python files in the repository are in two-spaces-per-level indentation, while PEP-8 (and Ansible as a whole) uses four-spaces-per-level. Which style should be used for this repository?

CFSworks avatar Jun 16 '17 22:06 CFSworks

I was complaining about this exact same problem literally hours ago.

senorsmile avatar Jun 16 '17 22:06 senorsmile

I personally prefer two-spaces indentation. Didn't really think about Ansible code as a whole which will probably matter if we try to bring it to the core.

zahodi avatar Jun 16 '17 23:06 zahodi

Since our ultimate goal is to get this in upstream Ansible, we'll want to follow whatever their style guide is.

senorsmile avatar Jun 16 '17 23:06 senorsmile