diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 23dd2d92c04b4e1d4c35ae09b9090a4935904bd8..6a53f672f95fa7b7aa1177da43f2ca506af8ed09 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,8 +3,7 @@ repos: rev: stable hooks: - id: black - language_version: python3.6 - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v1.3.0 + rev: v2.3.0 hooks: - id: flake8 diff --git a/pyproject.toml b/pyproject.toml index 1917f169922276a353e3d5fd13876c2cf0549dff..95c2f408ce2aa0bfe5215c2e48c9a7103ef610c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,2 @@ [tool.black] -py36 = true +target_version = ['py37']