Add CI pipelines and pre-commit hooks
Now we have a very basic CI pipeline for running tests and executing linter, as well as a pre-commit hook that is checking basic code related stuff. The pre-commit hook is executed as a part of pipelines as well Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
12
.pre-commit-config.yaml
Normal file
12
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.3.0
|
||||
hooks:
|
||||
- id: check-added-large-files
|
||||
- id: check-merge-conflict
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
- repo: https://github.com/codespell-project/codespell
|
||||
rev: v2.4.1
|
||||
hooks:
|
||||
- id: codespell
|
||||
Reference in New Issue
Block a user