Add basic pre-commit rules
This commit is contained in:
9
.pre-commit-config.yaml
Normal file
9
.pre-commit-config.yaml
Normal 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
|
||||||
@@ -6,4 +6,3 @@ description: A combined dice rolling and calculator bot.
|
|||||||
public_instances:
|
public_instances:
|
||||||
- "@dice:maunium.net"
|
- "@dice:maunium.net"
|
||||||
- "@dice:t2bot.io"
|
- "@dice:t2bot.io"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ license: MIT
|
|||||||
author: Tulir
|
author: Tulir
|
||||||
description: |
|
description: |
|
||||||
A bot that echoes pings and other stuff.
|
A bot that echoes pings and other stuff.
|
||||||
|
|
||||||
See [#ping:maunium.net](https://matrix.to/#/#ping:maunium.net) for a room
|
See [#ping:maunium.net](https://matrix.to/#/#ping:maunium.net) for a room
|
||||||
with lots of echo bots.
|
with lots of echo bots.
|
||||||
public_instances:
|
public_instances:
|
||||||
|
|||||||
@@ -6,4 +6,3 @@ description: A bot to calculate unexpected factorials.
|
|||||||
public_instances:
|
public_instances:
|
||||||
- "@factorial:maunium.net"
|
- "@factorial:maunium.net"
|
||||||
- "@factorial:t2bot.io"
|
- "@factorial:t2bot.io"
|
||||||
|
|
||||||
|
|||||||
2
data/plugins/thirdparty/gifme.yaml
vendored
2
data/plugins/thirdparty/gifme.yaml
vendored
@@ -3,7 +3,7 @@ repo: https://github.com/williamkray/maubot-gifme
|
|||||||
license: MIT
|
license: MIT
|
||||||
author: William Kray
|
author: William Kray
|
||||||
description: |
|
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
|
Allows fallback behavior to Giphy or Tenor, optionally saves quotes from
|
||||||
users for comedic effect or to be used as an FAQ bot!
|
users for comedic effect or to be used as an FAQ bot!
|
||||||
public_instances: []
|
public_instances: []
|
||||||
|
|||||||
2
data/plugins/thirdparty/reminder-agenda.yaml
vendored
2
data/plugins/thirdparty/reminder-agenda.yaml
vendored
@@ -7,7 +7,7 @@ license: AGPL-3.0-or-later
|
|||||||
# The author of the plugin.
|
# The author of the plugin.
|
||||||
author: Ruby Marx
|
author: Ruby Marx
|
||||||
# A short description for the plugin. May contain markdown.
|
# 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`,
|
# Antifeature identifiers. Currently the only defined value is `synchronous`,
|
||||||
# which must be included if the plugin uses non-async libraries in the main
|
# which must be included if the plugin uses non-async libraries in the main
|
||||||
# thread (because that can block the whole maubot process).
|
# thread (because that can block the whole maubot process).
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ body > header {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
-webkit-line-clamp: 4;
|
-webkit-line-clamp: 4;
|
||||||
line-clamp: 4;
|
line-clamp: 4;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user