diff options
author | Joshua M. Boniface <joshua@boniface.me> | 2024-02-16 02:57:17 -0500 |
---|---|---|
committer | Joshua M. Boniface <joshua@boniface.me> | 2024-02-16 02:58:36 -0500 |
commit | 33389396a793580945adeaa736e49d515ed5466f (patch) | |
tree | 10a3f78aa33b7ec7d5987a05930240f3207a529f | |
parent | Move configuration into YAML document (diff) | |
download | jellyfin-packaging-33389396a793580945adeaa736e49d515ed5466f.tar.gz jellyfin-packaging-33389396a793580945adeaa736e49d515ed5466f.tar.bz2 jellyfin-packaging-33389396a793580945adeaa736e49d515ed5466f.zip |
Add linting rules
-rw-r--r-- | .flake8 | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +[flake8] +# We ignore the following errors: +# * W503 (line break before binary operator): Black moves these to new lines +# * E501 (line too long): Long lines are a fact of life in comment blocks; Black handles active instances of this +# * E203 (whitespace before ':'): Black recommends this as disabled +# * F403 (import * used; unable to detect undefined names): We use a wildcard for helpers +# * F405 (possibly undefined name): We use a wildcard for helpers +ignore = W503, E501, F403, F405 +extend-ignore = E203 +# Set the max line length to 88 for Black +max-line-length = 88 + |