##// END OF EJS Templates
deps: also report unseen known violations
Mads Kiilerich -
r8600:c7663810 default
parent child Browse files
Show More
@@ -153,7 +153,7 b' kallithea.templates.py'
153 153 shown_modules = normal_modules | top_modules
154 154
155 155 # break the chains somehow - this is a cleanup TODO list
156 known_violations = [
156 known_violations = set([
157 157 ('kallithea.lib.auth_modules', 'kallithea.lib.auth'), # needs base&facade
158 158 ('kallithea.lib.utils', 'kallithea.model'), # clean up utils
159 159 ('kallithea.lib.utils', 'kallithea.model.db'),
@@ -166,7 +166,7 b' known_violations = ['
166 166 ('kallithea.model', 'kallithea.lib.hooks'), # clean up hooks
167 167 ('kallithea.model', 'kallithea.model.scm'),
168 168 ('kallithea.model.scm', 'kallithea.lib.hooks'),
169 ]
169 ])
170 170
171 171 extra_edges = [
172 172 ('kallithea.config', 'kallithea.controllers'), # through TG
@@ -271,6 +271,8 b' Usage:'
271 271
272 272 # verify dependencies by untangling dependency chain bottom-up:
273 273 todo = set(normalized_dep_edges)
274 unseen_violations = known_violations.difference(todo)
275 assert not unseen_violations, unseen_violations
274 276 for x in known_violations:
275 277 todo.remove(x)
276 278
General Comments 0
You need to be logged in to leave comments. Login now