Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pre-commit
1 parent 7df2997 commit bd74403Copy full SHA for bd74403
.github/workflows/main.yaml
@@ -0,0 +1,11 @@
1
+name: CI
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ pre-commit:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+ - uses: actions/setup-python@v2
11
+ - uses: pre-commit/[email protected]
.pre-commit-config.yaml
@@ -0,0 +1,15 @@
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v3.4.0
+ hooks:
+ - id: check-yaml
+ - id: end-of-file-fixer
+ files: (?x)^(
+ [\w-]+[.]tex|
+ scripts/[\w-]+[.]py|
+ )$
+ - id: trailing-whitespace
12
13
14
15
0 commit comments