[Openstack-operators] [openstack-operators][osops][tools-generic] Coding Standards/Coding Linters for tools-generic

JJ Asghar jj at chef.io
Tue Nov 17 17:56:05 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 11/16/15 7:43 PM, Clayton O'Neill wrote:
> I think it’s a good idea.  I think scripts and such that don’t pass the
> listing tools can go into the contrib repos and if they get cleaned up
> then they can move over to the regular ones.  

Yep! That's the master plan. No barrier to entry for the contrib apart
from some minor peer review, and our coding standards in the tools-generic.

> I don’t actually like some of the PEP8 and bashate rules, but I’d rather
> have a consistent style than have them in everyone’s personal style.  I
> find less opinionated tools like rubocop to be less useful, since you
> end up bogged down in arguing about which style options to choose.

Yep, that's the can o'worms I was talking about. I was thinking that we
could just steal this .rubocop.yml[1], as it's a "sane" default for us
at Chef. If you take a look at it you'll see its pretty simple which is
what we're looking for.

Speaking of this .rubocop.yml I'll add it to the etherpad.


[1]: https://github.com/chef-cookbooks/mysql/blob/master/.rubocop.yml

- -J
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJWS2o1AAoJEDZbxzMH0+jT1GkP/37vtPrWQxT3gHK2eP8gCWAh
B9GHgwuLhS9lwVR3+F4pXspDJc7fRrW9UocveKIZ5kbFjLdFw2dnxEOhdMC7T5nf
X9LKZWo8AjhDRJlmKDA9UYU7PGv1fYtQJvsdfISz/6+W+CA/T2ktuYajkM0mGlxm
WMZqcvZr60onCBSKvpdlf7EhWLzST0gfGkkuM6+btpAxYL3XsqYdBzbZrEcCFfQ9
nFdOUJfy/yBAbqa60HMjqoPE2E77RrN0pTYTU7Cyk3mwYHWYeNwJcIyW+GOx1WOy
6X4/7mUH9U9+xRUxS1Kae8RaL+E0HDZd+zXmalChfuKU5otJ5vhRRfVhpKderfaT
8FBz0WcsZMsGqUdUdFmHSRxwLubW3J0zp2V35/jwPY55My502kp2KGj3pTZtExWo
qP+Cld0mENEAHtZfcbojMNlhH+nSLgwqZaK08ChYkY1y62fijnm+sao3UQaOkYFM
IC7D6JKJXL0bJnUMVlAZS6E+0VmveUB8HKZST3z5FI8bUrv7XiC33Fr905sdhwy5
QDbOPscMfW7RyaG4+LjmNB1Ks1Yqt22rLL5DiPOl2WT+IXYO+AJxbxUjmSA/dUuG
5VpcmJblrfOsbdP2B3U/a7ugoPbjgEI6Q3UmUlo7QeKkhiKq0BRBRt1tJruG+49U
2vcU0Ipxzexeq1L+qYXI
=Bf24
-----END PGP SIGNATURE-----



More information about the OpenStack-operators mailing list