diff --git a/.pep8 b/.pep8 new file mode 100644 index 0000000000..3995969e42 --- /dev/null +++ b/.pep8 @@ -0,0 +1,3 @@ +[pep8] +aggressive = 3 +in-place = true diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 246a197bd2..33f03c1caf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,6 +28,12 @@ repos: files: >- ^.*\.rst$ +- repo: https://github.com/hhatto/autopep8.git + rev: >- # v2.0.2 does not yet have config, maybe v2.0.3 will, SHA for now + 5b9110ba53fecd60cd3091fb66d808e8ced3b2e8 + hooks: + - id: autopep8 + - repo: https://github.com/pre-commit/pre-commit-hooks.git rev: v4.4.0 hooks: