Commit 76e79e46 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Satisfy linter

parent 6c5e9bc4
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
#  Copyright 2020  Dominik Sekotill <dom.sekotill@kodo.org.uk>
#
#  This Source Code Form is subject to the terms of the Mozilla Public
#  License, v. 2.0. If a copy of the MPL was not distributed with this
#  file, You can obtain one at http://mozilla.org/MPL/2.0/.

"""
Run pylint from pre-commit with project dependencies installed
"""
@@ -27,6 +33,7 @@ __version__ = '0.3'
)
@click.argument('files', nargs=-1)
def main(extras, fail_under, files):
	"""Invoke Pylint on the given files after ensuring dependencies are up to date"""
	join = ','.join
	cmd = [
		'pip', 'install', '--upgrade', '--editable',