0

Add basic pre-commit rules

This commit is contained in:
Tulir Asokan
2023-11-10 23:42:13 +02:00
parent 96d7252d86
commit 6e9ad0d5a9
7 changed files with 13 additions and 6 deletions

9
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,9 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
exclude_types: [markdown]
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files

View File

@@ -6,4 +6,3 @@ description: A combined dice rolling and calculator bot.
public_instances:
- "@dice:maunium.net"
- "@dice:t2bot.io"

View File

@@ -6,4 +6,3 @@ description: A bot to calculate unexpected factorials.
public_instances:
- "@factorial:maunium.net"
- "@factorial:t2bot.io"