Backed out changeset b71c8c052463 (bug 1943846) for causing mass failures. CLOSED...
[gecko.git] / tools / lint / perfdocs / __init__.py
blob1194d38624176a719bce9994ce699a5a8084baa7
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4 import os
6 from perfdocs import perfdocs
8 here = os.path.abspath(os.path.dirname(__file__))
9 PERFDOCS_REQUIREMENTS_PATH = os.path.join(here, "requirements.txt")
12 def lint(paths, config, logger, fix=False, **lintargs):
13 return perfdocs.run_perfdocs(config, logger=logger, paths=paths, generate=fix)