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

@@ -4,7 +4,7 @@ license: MIT
author: Tulir
description: |
A bot that echoes pings and other stuff.
See [#ping:maunium.net](https://matrix.to/#/#ping:maunium.net) for a room
with lots of echo bots.
public_instances:

View File

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

View File

@@ -3,7 +3,7 @@ repo: https://github.com/williamkray/maubot-gifme
license: MIT
author: William Kray
description: |
Superior gif responses. Save your own library of image or video responses.
Superior gif responses. Save your own library of image or video responses.
Allows fallback behavior to Giphy or Tenor, optionally saves quotes from
users for comedic effect or to be used as an FAQ bot!
public_instances: []

View File

@@ -7,7 +7,7 @@ license: AGPL-3.0-or-later
# The author of the plugin.
author: Ruby Marx
# A short description for the plugin. May contain markdown.
description: Create reminders, recurring reminders, and agenda items. A maubot port of [matrix-reminder-bot](https://github.com/anoadragon453/matrix-reminder-bot/tree/master) combined with [maubot/reminder](https://github.com/maubot/reminder)
description: Create reminders, recurring reminders, and agenda items. A maubot port of [matrix-reminder-bot](https://github.com/anoadragon453/matrix-reminder-bot/tree/master) combined with [maubot/reminder](https://github.com/maubot/reminder)
# Antifeature identifiers. Currently the only defined value is `synchronous`,
# which must be included if the plugin uses non-async libraries in the main
# thread (because that can block the whole maubot process).

View File

@@ -53,7 +53,7 @@ body > header {
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 4;
line-clamp: 4;
line-clamp: 4;
-webkit-box-orient: vertical;
}