2017-06-05 16:34:21 +02:00
|
|
|
# Exclude some directories and files from lint checking
|
|
|
|
EXCLUDED_FILES = [
|
|
|
|
# Third-party code that doesn't match our style
|
|
|
|
"puppet/apt/.forge-release",
|
|
|
|
"puppet/apt/README.md",
|
2018-08-07 14:26:46 +02:00
|
|
|
"puppet/apt/manifests/backports.pp",
|
|
|
|
"puppet/apt/manifests/params.pp",
|
2018-08-28 22:44:40 +02:00
|
|
|
"puppet/apt/manifests/release.pp",
|
2018-08-07 14:26:46 +02:00
|
|
|
"puppet/apt/manifests/unattended_upgrades.pp",
|
|
|
|
"puppet/stdlib/tests/file_line.pp",
|
2018-08-03 02:09:42 +02:00
|
|
|
"puppet/zulip/files/nagios_plugins/zulip_nagios_server/check_website_response.sh",
|
|
|
|
"scripts/lib/third",
|
2017-06-05 16:34:21 +02:00
|
|
|
"static/third",
|
|
|
|
# Transifex syncs translation.json files without trailing
|
|
|
|
# newlines; there's nothing other than trailing newlines we'd be
|
|
|
|
# checking for in these anyway.
|
|
|
|
"static/locale",
|
|
|
|
]
|
2018-08-07 14:26:46 +02:00
|
|
|
|
|
|
|
PUPPET_CHECK_RULES_TO_EXCLUDE = [
|
|
|
|
"--no-documentation-check",
|
|
|
|
"--no-80chars-check",
|
|
|
|
]
|