Skip to content

Commit be42b49

Browse files
committed
Exclude .venv from pre-commit check
1 parent 96fe8cd commit be42b49

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/pre-commit.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ jobs:
44
pre-commit:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v3
8-
- uses: actions/setup-python@v3
7+
- uses: actions/checkout@v4
8+
- uses: actions/setup-python@v5
99
- uses: pre-commit/action@v3.0.0

.pre-commit-config.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 23.9.1
3+
rev: 25.1.0
44
hooks:
55
- id: black
66
args: [ --safe, --config=./pyproject.toml ]
@@ -10,10 +10,11 @@ repos:
1010
hooks:
1111
- id: docstrfmt
1212
require_serial: true
13-
rev: v1.5.1
13+
exclude: ".venv"
14+
rev: v1.10.0
1415

1516
- repo: https://github.com/pre-commit/pre-commit-hooks
16-
rev: v4.3.0
17+
rev: v5.0.0
1718
hooks:
1819
- id: trailing-whitespace
1920
- id: end-of-file-fixer
@@ -22,7 +23,7 @@ repos:
2223
language_version: python3
2324

2425
- repo: https://github.com/charliermarsh/ruff-pre-commit
25-
rev: v0.0.291
26+
rev: v0.11.6
2627
hooks:
2728
- id: ruff
2829
args: [ --config=./pyproject.toml ]

bot_commands.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,7 @@ async def add_to_based_history(user_name: str, parent_author: str, mongo_client:
149149
150150
:param user_name: user who gave the based and pills
151151
:param parent_author: user who received the based
152-
:param mongo_client: MongoDB Client used to get the collections
153-
:type mongo_client: AsyncIOMotorClient
152+
:param AsyncIOMotorClient mongo_client: MongoDB Client used to get the collections
154153
155154
:returns: None
156155

pre_push.py

100644100755
File mode changed.

0 commit comments

Comments
 (0)