зеркало из https://github.com/microsoft/LightGBM.git
[ci] prevent trailing whitespace, ensure files end with newline (#6373)
This commit is contained in:
Родитель
6a1ec44437
Коммит
631e0a2a7b
|
@ -1,3 +1,4 @@
|
|||
# exclude files which are auto-generated by build tools
|
||||
exclude: |
|
||||
(?x)^(
|
||||
build|
|
||||
|
@ -5,8 +6,17 @@ exclude: |
|
|||
lightgbm-python|
|
||||
lightgbm_r|
|
||||
)$
|
||||
|R-package/configure$
|
||||
|R-package/inst/Makevars$
|
||||
|R-package/inst/Makevars.win$
|
||||
|R-package/man/.*Rd$
|
||||
|
||||
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
|
||||
rev: 5.13.2
|
||||
hooks:
|
||||
|
|
|
@ -158,4 +158,3 @@ DECLARE(histogram256);
|
|||
} // namespace LightGBM
|
||||
|
||||
#endif // LIGHTGBM_TREELEARNER_KERNELS_HISTOGRAM_16_64_256_HU_
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче