Closed fabcor-maxiv closed 6 days ago
See also https://github.com/mxcube/mxcubeweb/pull/1264
I believe it might be useful to have linting for YAML files, since we are planning to move configuration from XML to YAML.
I made a best effort attempt at fixing some of the linting issues the tool found. For some files I was braver than for others. I focused on the files I know about (meaning pretty much anything but the gphl files). For the remaining linting issues I added ignore rules.
:+1: Thanks, nice initiative :)
There is now a configuration file for
yamllint
and apre-commit
hook.Some of the most straightforward linting issues were fixed. The other ones are ignored and should be handled in the future.