mxcube / mxcubecore

Backend used by MXCuBE
http://mxcube.github.io/mxcube/
GNU Lesser General Public License v3.0
11 stars 52 forks source link

enable pre-commit checks in CI (github Actions) #795

Closed elmjag closed 11 months ago

elmjag commented 11 months ago

Makes the repository pre-commit clean and enables automatic pre-commit checks on pull requests.

Files that are currently not passing some pre-commit checks, are added to exclude lists.

With this PR, we can keep all currently non-excluded and new files pre-commit clean using CI. Also, this gives us an option to to fix currently excluded files via small batches.

For small number of files, where changing formatting seems safe, I have applied white space fixes. This is some general config- and doc-files.