Add files/packit.wsgi into pre-commit flake8 args
# HOWTO: https://pre-commit.com/#usage
# pip3 install pre-commit
# pre-commit install
-exclude: ^files/
+
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
@@ -14,7 +14,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: flake8
- args: [--max-line-length=100]
+ args: ["--max-line-length=100", "--per-file-ignores=files/packit.wsgi:F401"]
- repo: https://github.com/ambv/black
rev: stable
hooks:
