Skip to content

Commit fdbf626

Browse files
authored
Merge pull request #43 from stackhpc/ignore-c901
Add C901 to ignore list of pep8
2 parents fbcaed9 + 1dc71ee commit fdbf626

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools,api-ref
6464
# W503 line break before binary operator
6565
# W504 line break after binary operator
6666
# E402 module level import not at top of file
67-
ignore=H105,H238,E123,E402,W503,W504
67+
# NOTE(seunghun1ee): Remove C901 when ManagerService.create_lease()
68+
# in /blazar/manager/service.py get refactored
69+
# C901 Function is too complex
70+
ignore=H105,H238,E123,E402,W503,W504,C901
6871
# [H904] Delay string interpolations at logging calls.
6972
enable-extensions=H904
7073
# To get a list of functions that have a complexity of 17 or more, set

0 commit comments

Comments
 (0)