zulip/tools/linter_lib/exclude.py

19 lines
657 B
Python
Raw Normal View History

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/zulip/lib/puppet/parser/functions/join.rb",
"puppet/zulip/lib/puppet/parser/functions/range.rb",
"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",
]
PUPPET_CHECK_RULES_TO_EXCLUDE = [
"--no-documentation-check",
"--no-80chars-check",
]