gecko-dev/python/mozlint/test/linters/invalid_exclude.lint

11 строки
292 B
Python

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
LINTER = {
'name': "BadExcludeLinter",
'description': "Has an invalid exclude directive.",
'exclude': [0, 1], # should be a list of strings
'type': 'string',
'payload': 'foobar',
}