summaryrefslogtreecommitdiffstats
path: root/ansible_collections/cisco/ios/.flake8
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-05 16:18:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-05 16:18:41 +0000
commitb643c52cf29ce5bbab738b43290af3556efa1ca9 (patch)
tree21d5c53d7a9b696627a255777cefdf6f78968824 /ansible_collections/cisco/ios/.flake8
parentReleasing progress-linux version 9.5.1+dfsg-1~progress7.99u1. (diff)
downloadansible-b643c52cf29ce5bbab738b43290af3556efa1ca9.tar.xz
ansible-b643c52cf29ce5bbab738b43290af3556efa1ca9.zip
Merging upstream version 10.0.0+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/cisco/ios/.flake8')
-rw-r--r--ansible_collections/cisco/ios/.flake817
1 files changed, 6 insertions, 11 deletions
diff --git a/ansible_collections/cisco/ios/.flake8 b/ansible_collections/cisco/ios/.flake8
index 4795515e8..03be69242 100644
--- a/ansible_collections/cisco/ios/.flake8
+++ b/ansible_collections/cisco/ios/.flake8
@@ -39,19 +39,14 @@ extend-exclude =
# IMPORTANT: avoid using ignore option, always use extend-ignore instead
# Completely and unconditionally ignore the following errors:
extend-ignore =
- # Safeguard neutering of flake8-quotes : https://github.com/zheller/flake8-quotes/issues/105
- Q,
- # annoy black by allowing white space before : https://github.com/psf/black/issues/315
- E203,
- # duplicate of pylint W0611 (unused-import)
- F401,
- # duplicate of pylint E0602 (undefined-variable)
- F821,
- # duplicate of pylint W0612 (unused-variable)
F841,
+ # line-length
+ E501,
+ # module level import not at top of file
+ E402
# Accessibility/large fonts and PEP8 unfriendly:
-max-line-length = 100
+max-line-length = 120
# Allow certain violations in certain files:
# Please keep both sections of this list sorted, as it will be easier for others to find and add entries in the future
@@ -62,7 +57,7 @@ per-file-ignores =
# these will need to be added to that line as well.
- # S101: Allow the use of assert within the tests directory, since tests require it.
+ # S101: Allow the use of assert within the tests directory, since tests require it.
tests/**.py: S101
# The following were present during the initial implementation.