260:7ffb6f327aa4
Anton Shestakov <av6@dwimlabs.net>, Fri, 16 Jun 2017 15:16:56 +0800
linters: make yamllint also use python_version In case of Python 3 projects that also have YAML files this can change save some seconds spent on setting up an extra virtualenv (for Python 2).

previous change 192:513e6162d4d6

linters/flake8.yml

Permissions: -rw-r--r--

Other formats: Feeds:
vars:
python_version: 2
setup:
- ['virtualenv', '--python=python%(python_version)s', '../venv%(python_version)s']
- ['../venv%(python_version)s/bin/pip', 'install', 'flake8', 'pep8-naming']
exec: ['../venv%(python_version)s/bin/flake8']
version: ['--version']