Skip to content

Commit 75bf7f0

Browse files
committed
feat: pre-commit lint πŸ–ŠοΈ
1 parent 86923d0 commit 75bf7f0

File tree

3 files changed

+116
-0
lines changed

3 files changed

+116
-0
lines changed

β€Ž.pre-commit-config.yamlβ€Ž

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
repos:
2+
- repo: https://github.com/pycqa/isort
3+
rev: 5.13.2
4+
hooks:
5+
- id: isort
6+
name: isort (python)
7+
8+
- repo: https://github.com/psf/black
9+
rev: 24.1.1
10+
hooks:
11+
- id: black
12+
language_version: python3.12

β€Žpyproject.tomlβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ dependencies = [
2222
"pytest-cov>=4.1.0",
2323
"black>=24.1.0",
2424
"isort>=5.13.0",
25+
"pre-commit>=4.0.1",
2526
]
2627

2728
[tool.pytest.ini_options]

β€Žuv.lockβ€Ž

Lines changed: 103 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)