"src/objective/vscode:/vscode.git/clone" did not exist on "61ec4f1aa215ca3381e7b79e98f002dc0c021d77"
Unverified Commit 631e0a2a authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[ci] prevent trailing whitespace, ensure files end with newline (#6373)

parent 6a1ec444
# exclude files which are auto-generated by build tools
exclude: | exclude: |
(?x)^( (?x)^(
build| build|
...@@ -5,8 +6,17 @@ exclude: | ...@@ -5,8 +6,17 @@ exclude: |
lightgbm-python| lightgbm-python|
lightgbm_r| lightgbm_r|
)$ )$
|R-package/configure$
|R-package/inst/Makevars$
|R-package/inst/Makevars.win$
|R-package/man/.*Rd$
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pycqa/isort - repo: https://github.com/pycqa/isort
rev: 5.13.2 rev: 5.13.2
hooks: hooks:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment