Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pre-commit: set min-space to 1 for in-line comments in yaml files (#3254
) Renovate bot commit may contain trailing comments with 1 space from the content. This is caused by Renovate's use of 'prettier' for formatting, which has a different default compared to yamllint, and that is not likely to change. This is completely arbitrary, thus to avoid further linting issues cased by Renovate we can as well adapt to use 1 min-space from content. Prepare for 'pre-commit.ci' use 'Skip flake8', as the '.flake8' file is ignored by pre-commit.ci. For some unknown reason the 'clang-format' of pre-commit.ci also formats ipynb files (being json files), but local use of pre-commit does not. Exclude ipynb files from clang-format.
- Loading branch information