diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 541717a..8a87b3d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,12 +22,12 @@ repos: args: - --markdown-linebreak-ext=md - repo: https://github.com/timothycrosley/isort - rev: 5.9.2 + rev: 5.9.3 hooks: - id: isort types: [python] - repo: https://github.com/psf/black - rev: 21.6b0 + rev: 21.7b0 hooks: - id: black types: [python] diff --git a/pyproject.toml b/pyproject.toml index 9428b6c..a885e39 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,3 +14,9 @@ pre-commit = "^2.13.0" [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" + +[tool.black] +target-version = ['py39'] + +[tool.isort] +profile = "black"