diff options
author | nicolargo <nicolas@nicolargo.com> | 2022-12-12 11:18:29 +0100 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2022-12-12 11:18:29 +0100 |
commit | 6ef0f439a3a6e422b7fe78ab9edfbc4cf803f2d6 (patch) | |
tree | 684f4322d8006ab48a0ca8d556ae54ba7a4746a4 /.flake8 | |
parent | 440fb972cee88c951e2da4fd6e8d9ad3a62f6ab8 (diff) |
Correct Flake8 configuration file
Diffstat (limited to '.flake8')
-rw-r--r-- | .flake8 | 17 |
1 files changed, 2 insertions, 15 deletions
@@ -1,20 +1,7 @@ [flake8] - +exclude = .git,__pycache__,docs/,build,dist ignore = - W504 # line break after binary operator - - # --- flake8-bugbear plugin - B007 # Loop control variable 'keyword' not used within the loop body. If this is intended, start the name with an underscore. - B014 # Redundant exception types in `except (IOError, OSError) as err:`. Write `except OSError as err:`, which catches exactly the same exceptions. - B008 # Do not perform function calls in argument defaults. - - # --- flake8-blind-except plugin - B902 # blind except Exception: statement - - # --- flake8-quotes plugin - Q000 # Double quotes found but single quotes preferred - - # --- flake8-quotes naming; disable all except N804 and N805 + W504, B007, B014, B008, B902, Q000, N801, N802, N803, N806, N807, N811, N812, N813, N814, N815, N816, N817, N818 # lines should not exceed 120 characters |