Update config

This commit is contained in:
Gabriel Augendre 2021-08-06 15:41:41 +02:00
parent aa4e102cae
commit b81bd49e73
2 changed files with 8 additions and 2 deletions

View file

@ -22,12 +22,12 @@ repos:
args: args:
- --markdown-linebreak-ext=md - --markdown-linebreak-ext=md
- repo: https://github.com/timothycrosley/isort - repo: https://github.com/timothycrosley/isort
rev: 5.9.2 rev: 5.9.3
hooks: hooks:
- id: isort - id: isort
types: [python] types: [python]
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 21.6b0 rev: 21.7b0
hooks: hooks:
- id: black - id: black
types: [python] types: [python]

View file

@ -14,3 +14,9 @@ pre-commit = "^2.13.0"
[build-system] [build-system]
requires = ["poetry-core>=1.0.0"] requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"
[tool.black]
target-version = ['py39']
[tool.isort]
profile = "black"