Files
zulip/tools/linter_lib/exclude.py
rht c9d54f7854 puppet: Remove vendored puppetlabs apt and stdlibs dependencies.
This commit works by vendoring the couple functions we still use from
puppetlabs stdlib (join and range), but removing the rest of the
puppetlabs codebase, and of course cleaning up our linter rules in the
process.

Fixes #7423.
2018-12-11 13:03:26 -08:00

19 lines
657 B
Python

# 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",
"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",
]