mirror of https://github.com/zulip/zulip.git
lint: Add comments to EXCLUDED_FILES entries.
This commit is contained in:
parent
f46d99ba85
commit
d47ea7a608
|
@ -20,15 +20,20 @@ except ImportError as e:
|
|||
sys.exit(1)
|
||||
|
||||
# Exclude some directories and files from lint checking
|
||||
EXCLUDED_FILES = """
|
||||
api/integrations/perforce/git_p4.py
|
||||
puppet/apt/.forge-release
|
||||
puppet/apt/README.md
|
||||
static/locale
|
||||
static/third
|
||||
zproject/settings.py
|
||||
zproject/test_settings.py
|
||||
""".split()
|
||||
EXCLUDED_FILES = [
|
||||
# Third-party code that doesn't match our style
|
||||
"api/integrations/perforce/git_p4.py",
|
||||
"puppet/apt/.forge-release",
|
||||
"puppet/apt/README.md",
|
||||
"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",
|
||||
# Settings files make a lot of use of * imports
|
||||
"zproject/settings.py",
|
||||
"zproject/test_settings.py",
|
||||
]
|
||||
|
||||
@contextmanager
|
||||
def bright_red_output():
|
||||
|
|
Loading…
Reference in New Issue