Adding CI-SH-DEF GitHub Actions workflow, based on PR #2930. (#2963)

* Adding ci_sh_def.yml, based on PR #2930.

* Adding exludes for .patch files.
This commit is contained in:
Ralf W. Grosse-Kunstleve
2021-04-20 14:34:31 -07:00
committed by GitHub
parent 7c7c336d6d
commit d7f98ac9a1
5 changed files with 1017 additions and 23 deletions

View File

@@ -27,6 +27,7 @@ repos:
- id: mixed-line-ending
- id: requirements-txt-fixer
- id: trailing-whitespace
exclude: \.patch?$
- id: fix-encoding-pragma
# Black, the code formatter, natively supports pre-commit
@@ -43,6 +44,7 @@ repos:
rev: v1.1.9
hooks:
- id: remove-tabs
exclude: (^docs/.*|\.patch)?$
# Flake8 also supports pre-commit natively (same author)
- repo: https://gitlab.com/pycqa/flake8