diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a626a833..44abf537 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,10 +1,11 @@ repos: - repo: https://github.com/pennlabs/pre-commit-hooks - rev: stable + rev: a91c550e051920dcb36e123fe8e2edac66ebf937 hooks: - - id: isort - - id: flake8 - - repo: https://github.com/psf/black - rev: 22.3.0 - hooks: - - id: black + - id: black + args: [-l100] + - id: isort + args: [] + - id: flake8 + args: [--config, backend/setup.cfg] + - id: detect-private-key \ No newline at end of file diff --git a/backend/Pipfile b/backend/Pipfile index 37d46dd3..a97ef81b 100644 --- a/backend/Pipfile +++ b/backend/Pipfile @@ -15,6 +15,7 @@ rope = "*" pytest = "*" tblib = "*" coverage = "*" +pre-commit = "*" [packages] beautifulsoup4 = "*"