Add pre-commit hooks. Drop the shebang from z-ps-twtty-7.sh.

This commit is contained in:
Doncho N. Gunchev 2024-02-21 15:32:36 +02:00
parent 82b91c2bf0
commit 08548e7a56
Signed by: dgunchev
GPG key ID: D30FD19F37E002A9
3 changed files with 20 additions and 2 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/dist
/.idea

19
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,19 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-added-large-files
args: [ '--maxkb=64' ]
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-toml
- id: check-yaml
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: fix-encoding-pragma
- id: mixed-line-ending
args: [ '--fix=lf' ]
- id: trailing-whitespace

View file

@ -1,5 +1,3 @@
#!/bin/bash
# DESCRIPTION
# ===========
# An attempt to seize industrial… ops, I ment an attempt to make my