diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5aaed9c078a2866317018e4628a8df43c7e94a35..4da61f4dafbb6a84dc1f95c6b1b75b7dc5f35a11 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,3 +30,9 @@ - --show-source - --statistics files: \.py$ + +- repo: https://github.com/asottile/reorder_python_imports + rev: v2.4.0 + hooks: + - id: reorder-python-imports + exclude: (?=third_party).*(\.py)$