mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
Apparently, `puppet-lint` on Ubuntu trusty throws warnings for certain quoting patterns that are OK in modern `puppet-lint`. I believe the old Zulip code was actually correct (i.e. the old `puppet-lint` implementation was the problem), but it seems worth changing anyway to suppress the warnings. We also exclude more of puppet-apt from linting, since it's third-party code.
22 lines
702 B
Python
22 lines
702 B
Python
# 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",
|
|
"puppet/apt/manifests/backports.pp",
|
|
"puppet/apt/manifests/params.pp",
|
|
"puppet/apt/manifests/release.pp",
|
|
"puppet/apt/manifests/unattended_upgrades.pp",
|
|
"puppet/stdlib/tests/file_line.pp",
|
|
"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",
|
|
]
|