mirror of
https://github.com/TheLovinator1/discord-reminder-bot.git
synced 2025-10-13 19:39:47 +02:00
Update pre-commit hooks versions and remove unused imports in main.py
This commit is contained in:
@@ -5,7 +5,7 @@ repos:
|
|||||||
- id: add-trailing-comma
|
- id: add-trailing-comma
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v5.0.0
|
rev: v6.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
- id: check-ast
|
- id: check-ast
|
||||||
@@ -29,7 +29,7 @@ repos:
|
|||||||
args: ["--py310-plus"]
|
args: ["--py310-plus"]
|
||||||
|
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.12.1
|
rev: v0.13.3
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
- id: ruff
|
- id: ruff
|
||||||
|
@@ -11,8 +11,6 @@ from functools import partial
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import TYPE_CHECKING, Any
|
from typing import TYPE_CHECKING, Any
|
||||||
|
|
||||||
import apscheduler
|
|
||||||
import apscheduler.triggers
|
|
||||||
import apscheduler.triggers.cron
|
import apscheduler.triggers.cron
|
||||||
import apscheduler.triggers.date
|
import apscheduler.triggers.date
|
||||||
import apscheduler.triggers.interval
|
import apscheduler.triggers.interval
|
||||||
|
Reference in New Issue
Block a user