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 = 'hold', |
118 severity = 'warn', |
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 ) |