diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2020-03-26 19:57:21 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-03-26 20:00:32 +0100 |
commit | 2969dc21b0b3d8d92ab907f8610f4c4e9c900a3c (patch) | |
tree | fe613047ff99c791bafa3b6d7fb560c48a82fad8 | |
parent | Fix errors identified by flake8. (diff) | |
download | glucometerutils-2969dc21b0b3d8d92ab907f8610f4c4e9c900a3c.tar glucometerutils-2969dc21b0b3d8d92ab907f8610f4c4e9c900a3c.tar.gz glucometerutils-2969dc21b0b3d8d92ab907f8610f4c4e9c900a3c.tar.bz2 glucometerutils-2969dc21b0b3d8d92ab907f8610f4c4e9c900a3c.tar.lz glucometerutils-2969dc21b0b3d8d92ab907f8610f4c4e9c900a3c.tar.xz glucometerutils-2969dc21b0b3d8d92ab907f8610f4c4e9c900a3c.tar.zst glucometerutils-2969dc21b0b3d8d92ab907f8610f4c4e9c900a3c.zip |
-rw-r--r-- | .pre-commit-config.yaml | 4 | ||||
-rw-r--r-- | setup.cfg | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 674c995..5204633 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,3 +9,7 @@ repos: rev: 19.10b0 hooks: - id: black +- repo: https://gitlab.com/pycqa/flake8 + rev: 3.7.9 + hooks: + - id: flake8 @@ -34,3 +34,8 @@ norecursedirs = venv .env timeout = 120 + +[flake8] +max-line-length = 88 +# Ignore long line errors, black takes care of them. +extend-ignore = E501 |