pre-commit tool

This commit is contained in:
2025-01-07 20:42:20 +00:00
parent b2fd821b3c
commit 4e12e6717e
2 changed files with 13 additions and 2 deletions

11
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,11 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.0
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort

View File

@@ -1,3 +1,3 @@
bs4==0.0.2 bs4==0.0.2
requests==2.32.3 pre_commit==4.0.1
requests==2.32.3