diff --git a/.flake8 b/.flake8 new file mode 100644 index 00000000..cadcae03 --- /dev/null +++ b/.flake8 @@ -0,0 +1,3 @@ +[flake8] +max-line-length = 88 +ignore = E203, E501, W503 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..93e78079 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,17 @@ +repos: + - repo: https://github.com/psf/black + rev: "23.10.0" + hooks: + - id: black + - repo: https://github.com/PyCQA/isort + rev: "5.12.0" + hooks: + - id: isort + - repo: https://github.com/PyCQA/flake8 + rev: "6.1.0" + hooks: + - id: flake8 + - repo: https://github.com/pre-commit/mirrors-prettier + rev: "fc260393cc4ec09f8fc0a5ba4437f481c8b55dc1" + hooks: + - id: prettier