Skip to content

Commit 33f21c6

Browse files
committed
isort & black pre-commit
1 parent d0f92a9 commit 33f21c6

3 files changed

Lines changed: 140 additions & 1 deletion

File tree

.pre-commit-config.yaml

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

poetry.lock

Lines changed: 128 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ openapi-python-client = "^0.13.1"
2424
pytest = "^7.2.1"
2525
isort = "^5.12.0"
2626
black = "^23.1.0"
27+
pre-commit = "^3.0.2"
2728

2829
[tool.poetry.scripts]
2930
taskbadger = "taskbadger.cli:app"

0 commit comments

Comments
 (0)