BCDA-APS / adl2pydm

Convert MEDM's .adl files to PyDM's .ui format
Other
0 stars 4 forks source link

STY: remove trailing whitespace #57

Closed klauer closed 4 years ago

klauer commented 4 years ago

Using pre-commit to help us out:

.pre-commit-config.yaml

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v2.5.0
    hooks:
    -   id: no-commit-to-branch
    -   id: trailing-whitespace
$ pip install pre-commit
$ pre-commit install
$ pre-commit run --all-files

This can help even if your editor doesn't support fixing trailing whitespace, for example, by automatically running the hooks defined in the config file on each commit.

prjemian commented 4 years ago

If you have other changes, tag me again for review.