mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
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.
19 lines
657 B
Python
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",
|
|
]
|