Skip to content

Commit 4306e9b

Browse files
committed
Fic code analysis
1 parent 244aabb commit 4306e9b

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

base.cfg

+2-7
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ eggs =
3232
${buildout:package-name} ${buildout:package-extras}
3333
defaults = ['-s', '${buildout:package-name}', '--auto-color', '--auto-progress']
3434

35-
[createcoverage]
36-
recipe = zc.recipe.egg
37-
eggs = createcoverage
38-
3935
[code-analysis]
40-
recipe = plone.recipe.codeanalysis
41-
directory = src/imio
42-
flake8-ignore = E123,E124,E501,E126,E127,E128,C901,W504
36+
flake8-max-complexity = 50
37+
flake8-ignore = E501, W503, W504, E203, Q000, C812

src/imio/helpers/testing.py

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from plone.app.testing import TEST_USER_NAME
1212
from plone.testing import z2
1313

14-
import collective.MockMailHost
1514
import imio.helpers
1615
import logging
1716
import sys

src/imio/helpers/tests/test_fancytree.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,6 @@ def test_get_data(self):
8989
}
9090
]
9191
}
92-
])
92+
])
9393

9494
self.assertEqual(output, expected)

0 commit comments

Comments
 (0)