diff --git a/.pre-commit.yaml b/.pre-commit.yaml new file mode 100644 index 0000000..d28c737 --- /dev/null +++ b/.pre-commit.yaml @@ -0,0 +1,19 @@ +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v3.4.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - repo: https://github.com/psf/black + rev: 21.7b0 + hooks: + - id: black + args: [--line-length=79] + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v3.4.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: flake8 + entry: flake8 + args: [--max-line-length=79] \ No newline at end of file