tests/subfiles.py

changeset 111
cfa961e5e578
parent 110
ea148f6fbd01
child 145
fde18c4d6784
equal deleted inserted replaced
110:ea148f6fbd01 111:cfa961e5e578
113 str.format('cyclical subfile dependency: {chain}', 113 str.format('cyclical subfile dependency: {chain}',
114 **locals(), 114 **locals(),
115 ), 115 ),
116 ) 116 )
117 @problem_type('bad-subfile', 117 @problem_type('bad-subfile',
118 severity = 'warn', 118 severity = 'warning',
119 message = lambda path, problem_text: 119 message = lambda path, problem_text:
120 str.format('cannot process subfile "{path}": {problem_text}', 120 str.format('cannot process subfile "{path}": {problem_text}',
121 **locals(), 121 **locals(),
122 ), 122 ),
123 ) 123 )

mercurial