Skip to content

Commit 22f2697

Browse files
committed
fix buildout
1 parent 9d1e92e commit 22f2697

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

base.cfg

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ parts =
77
instance
88
test
99
# we use tox for testing and linting, by default
10-
# code-analysis
10+
code-analysis
1111
coverage
1212
test-coverage
1313
createcoverage
@@ -37,10 +37,10 @@ recipe = collective.recipe.vscode
3737
eggs = ${instance:eggs}
3838
autocomplete-use-omelette = True
3939

40-
# [code-analysis]
41-
# recipe = plone.recipe.codeanalysis
42-
# directory = ${buildout:directory}/src/iosanita
43-
# return-status-codes = False
40+
[code-analysis]
41+
recipe = plone.recipe.codeanalysis
42+
directory = ${buildout:directory}/src/redturtle
43+
return-status-codes = False
4444

4545

4646
[omelette]

setup.cfg

+8-4
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@ ignore =
66
.gitattributes
77

88
[isort]
9-
# black compatible isort rules:
10-
profile = plone
9+
# for details see
10+
# http://docs.plone.org/develop/styleguide/python.html#grouping-and-sorting
11+
force_alphabetical_sort = True
12+
force_single_line = True
13+
lines_after_imports = 2
14+
line_length = 200
15+
not_skip = __init__.py
1116

1217
[flake8]
1318
# black compatible flake8 rules:
@@ -17,11 +22,10 @@ ignore =
1722
E501
1823
T001
1924
C813
20-
C101
2125
# E203, E266
2226
exclude = bootstrap.py,docs,*.egg.,omelette
2327
max-line-length = 88
2428
max-complexity = 18
2529
select = B,C,E,F,W,T4,B9
26-
2730
builtins = unicode,basestring
31+

0 commit comments

Comments
 (0)