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/.
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
)