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
|
2018-12-06 21:46:36 +01:00
|
|
|
"puppet/zulip/lib/puppet/parser/functions/join.rb",
|
|
|
|
"puppet/zulip/lib/puppet/parser/functions/range.rb",
|
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",
|
2020-10-12 19:48:47 +02:00
|
|
|
"zilencer/management/commands/rundjangoserver.py",
|
2017-06-05 16:34:21 +02:00
|
|
|
# Transifex syncs translation.json files without trailing
|
|
|
|
# newlines; there's nothing other than trailing newlines we'd be
|
|
|
|
# checking for in these anyway.
|
2019-07-02 22:38:09 +02:00
|
|
|
"locale",
|
2017-06-05 16:34:21 +02:00
|
|
|
]
|
2018-08-07 14:26:46 +02:00
|
|
|
|
|
|
|
PUPPET_CHECK_RULES_TO_EXCLUDE = [
|
|
|
|
"--no-documentation-check",
|
|
|
|
"--no-80chars-check",
|
|
|
|
]
|