Skip to content

Commit 37045e4

Browse files
author
abrar2030
committed
Refactor code and enhance maintainability.
1 parent 4e24507 commit 37045e4

1 file changed

Lines changed: 19 additions & 5 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 24.3.0
3+
rev: 25.11.0
44
hooks:
55
- id: black
6-
- repo: https://github.com/PyCQA/isort
7-
rev: 6.0.0
6+
args: ["--line-length=88"]
7+
8+
- repo: https://github.com/pycqa/isort
9+
rev: 7.0.0
810
hooks:
911
- id: isort
10-
- repo: https://github.com/PyCQA/flake8
11-
rev: 7.0.0
12+
args: ["--profile", "black"]
13+
14+
- repo: https://github.com/pycqa/flake8
15+
rev: 7.3.0
1216
hooks:
1317
- id: flake8
18+
additional_dependencies:
19+
- flake8-bugbear
20+
args: ["--max-line-length=88"]
1421

22+
- repo: https://github.com/pre-commit/pre-commit-hooks
23+
rev: v6.0.0
24+
hooks:
25+
- id: trailing-whitespace
26+
- id: end-of-file-fixer
27+
- id: mixed-line-ending
28+
- id: debug-statements

0 commit comments

Comments
 (0)