Skip to content

Commit 453eb28

Browse files
committed
style(.pre-commit-config.yaml): improve indentation for better readability
feat(requirements.txt): add pre-commit to project dependencies
1 parent e205864 commit 453eb28

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
repos:
2-
- repo: https://github.com/psf/black
2+
- repo: https://github.com/psf/black
33
rev: 24.1.1 # Use the latest stable version
44
hooks:
5-
- id: black
6-
language_version: python3
5+
- id: black
6+
language_version: python3
77

8-
- repo: https://github.com/astral-sh/ruff-pre-commit
8+
- repo: https://github.com/astral-sh/ruff-pre-commit
99
rev: v0.2.1 # Use the latest stable version
1010
hooks:
11-
- id: ruff
12-
args: [--fix, --exit-non-zero-on-fix]
11+
- id: ruff
12+
args: [--fix, --exit-non-zero-on-fix]
1313

14-
- repo: https://github.com/pre-commit/pre-commit-hooks
14+
- repo: https://github.com/pre-commit/pre-commit-hooks
1515
rev: v4.5.0
1616
hooks:
17-
- id: trailing-whitespace
18-
- id: end-of-file-fixer
19-
- id: check-yaml
20-
- id: check-added-large-files
17+
- id: trailing-whitespace
18+
- id: end-of-file-fixer
19+
- id: check-yaml
20+
- id: check-added-large-files

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ pandas-stubs
1616
types-pyyaml
1717
types-setuptools
1818
types-requests-oauthlib
19-
types-urllib3
19+
types-urllib3
20+
pre-commit

0 commit comments

Comments
 (0)