Commit 9f7cb532 authored by intrigeri's avatar intrigeri
Browse files

lint_po: ignore torbrowser-launcher's PO files

We don't use them.
parent 3bb31234
......@@ -297,8 +297,11 @@ def main(logger) -> None:
args.files += glob.glob("**/*.po", recursive=True)
# Skip files in ./tmp/
files = list(itertools.filterfalse(lambda f: f.startswith('tmp/'),
args.files))
files = list(itertools.filterfalse(
lambda f:
f.startswith('tmp/')
or f.startswith('submodules/torbrowser-launcher/'),
args.files))
if not files:
if not args.cached:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment