forked from aristanetworks/cloudvision-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.flake8
More file actions
12 lines (12 loc) · 613 Bytes
/
Copy path.flake8
File metadata and controls
12 lines (12 loc) · 613 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
[flake8]
max-line-length = 100
exclude = gen,.venv,build/*,*_pb2.py,*_pb2_grpc.py,cloudvision/api/arista/*,cloudvision/api/fmp/*
ignore = H301,F403,F401,W503
per-file-ignores =
# Excludes undefined variable for validators as ctx is defined at runtime
actionpacks/*:F821
# Excludes "module level import not at top of file" for the configuration as we need to use
# sys.path.insert(0, os.path.abspath('..')) in conf.py before importing cloudvision so that
# it resolves properly. Otherwise Sphinx will fail due to ModuleNotFoundError: No module
# named 'cloudvision'
docsrc/conf.py:E402