Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -10,28 +10,28 @@ repos:
- id: check-merge-conflict

- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 7.0.0
hooks:
- id: isort
args: [--profile, black, --line-length=120]

- repo: https://github.com/pycqa/flake8
rev: 6.1.0
rev: 7.3.0
hooks:
- id: flake8
additional_dependencies:
- flake8-docstrings
config: ./setup.cfg
exclude: migrations

- repo: https://github.com/psf/black
rev: 23.10.1
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.12.0
hooks:
- id: black
args: [--line-length=120]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.6.1'
rev: 'v1.19.1'
hooks:
- id: mypy
args: [--strict]
Expand Down
1 change: 1 addition & 0 deletions src/core/db/migrations/versions/6d584f53f8cf_.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-11-28 13:15:38.416597

"""

import sqlalchemy as sa
from alembic import op

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-12-04 20:54:36.381591

"""

import sqlalchemy as sa
from alembic import op

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-10-16 12:42:50.907025

"""

import sqlalchemy as sa
from alembic import op

Expand Down
1 change: 1 addition & 0 deletions src/core/db/migrations/versions/b4b4c68b8aa3_.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-08-10 12:35:25.993047

"""

import sqlalchemy as sa
from alembic import op

Expand Down
1 change: 1 addition & 0 deletions src/core/db/migrations/versions/cebca1c19787_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-10-26 22:56:39.340776

"""

import sqlalchemy as sa
from alembic import op

Expand Down
2 changes: 1 addition & 1 deletion stubs/mmpy_bot/plugins/base.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class FunctionInfo:

def get_function_characteristics(function: FunctionInfo) -> tuple[bool, bool, str]: ...
def generate_plugin_help(
listeners: Dict[re.Pattern[Any], List[Union[MessageFunction[Any], WebHookFunction]]]
listeners: Dict[re.Pattern[Any], List[Union[MessageFunction[Any], WebHookFunction]]],
) -> list[FunctionInfo]: ...

class PluginManager:
Expand Down