mirror of
https://github.com/saltstack/salt.git
synced 2025-04-15 17:20:19 +00:00
We currently only support running lint under Py2.7
This commit is contained in:
parent
a76981bc5b
commit
48868099a3
5 changed files with 3 additions and 75 deletions
|
@ -129,14 +129,6 @@ repos:
|
|||
- --include=requirements/raet.txt
|
||||
- --include=requirements/pytest.txt
|
||||
- --remove-line=^pycryptodome==(.*)$
|
||||
- id: pip-tools-compile
|
||||
alias: compile-lint-py3.4-requirements
|
||||
name: Lint Py3.4 Requirements
|
||||
files: ^requirements/static/lint\.in$
|
||||
args:
|
||||
- -v
|
||||
- --py-version=3.4
|
||||
- --platform=linux
|
||||
|
||||
- id: pip-tools-compile
|
||||
alias: compile-linux-py3.5-zmq-requirements
|
||||
|
@ -218,14 +210,6 @@ repos:
|
|||
- --include=requirements/raet.txt
|
||||
- --include=requirements/pytest.txt
|
||||
- --remove-line=^pycryptodome==(.*)$
|
||||
- id: pip-tools-compile
|
||||
alias: compile-lint-py3.5-requirements
|
||||
name: Lint Py3.5 Requirements
|
||||
files: ^requirements/static/lint\.in$
|
||||
args:
|
||||
- -v
|
||||
- --py-version=3.5
|
||||
- --platform=linux
|
||||
|
||||
- id: pip-tools-compile
|
||||
alias: compile-linux-py3.6-zmq-requirements
|
||||
|
@ -307,11 +291,3 @@ repos:
|
|||
- --include=requirements/raet.txt
|
||||
- --include=requirements/pytest.txt
|
||||
- --remove-line=^pycryptodome==(.*)$
|
||||
- id: pip-tools-compile
|
||||
alias: compile-lint-py3.6-requirements
|
||||
name: Lint Py3.6 Requirements
|
||||
files: ^requirements/static/lint\.in$
|
||||
args:
|
||||
- -v
|
||||
- --py-version=3.6
|
||||
- --platform=linux
|
||||
|
|
|
@ -603,7 +603,7 @@ def _lint(session, rcfile, flags, paths):
|
|||
raise
|
||||
|
||||
|
||||
@nox.session(python=_PYTHON_VERSIONS)
|
||||
@nox.session(python='2.7')
|
||||
def lint(session):
|
||||
'''
|
||||
Run PyLint against Salt and it's test suite. Set PYLINT_REPORT to a path to capture output.
|
||||
|
@ -612,7 +612,7 @@ def lint(session):
|
|||
session.notify('lint-tests-{}'.format(session.python))
|
||||
|
||||
|
||||
@nox.session(python=_PYTHON_VERSIONS, name='lint-salt')
|
||||
@nox.session(python='2.7', name='lint-salt')
|
||||
def lint_salt(session):
|
||||
'''
|
||||
Run PyLint against Salt. Set PYLINT_REPORT to a path to capture output.
|
||||
|
@ -627,7 +627,7 @@ def lint_salt(session):
|
|||
_lint(session, '.testing.pylintrc', flags, paths)
|
||||
|
||||
|
||||
@nox.session(python=_PYTHON_VERSIONS, name='lint-tests')
|
||||
@nox.session(python='2.7', name='lint-tests')
|
||||
def lint_tests(session):
|
||||
'''
|
||||
Run PyLint against Salt and it's test suite. Set PYLINT_REPORT to a path to capture output.
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
#
|
||||
# This file is autogenerated by pip-compile
|
||||
# To update, run:
|
||||
#
|
||||
# pip-compile -o requirements/static/py3.4/lint.txt -v requirements/static/lint.in
|
||||
#
|
||||
astroid==1.4.9 # via pylint
|
||||
isort==4.3.16 # via pylint
|
||||
lazy-object-proxy==1.3.1 # via astroid
|
||||
mccabe==0.6.1 # via pylint
|
||||
modernize==0.5 # via saltpylint
|
||||
pycodestyle==2.5.0 # via saltpylint
|
||||
pylint==1.6.5
|
||||
saltpylint==2019.1.11
|
||||
six==1.12.0 # via astroid, pylint
|
||||
wrapt==1.11.1 # via astroid
|
|
@ -1,16 +0,0 @@
|
|||
#
|
||||
# This file is autogenerated by pip-compile
|
||||
# To update, run:
|
||||
#
|
||||
# pip-compile -o requirements/static/py3.5/lint.txt -v requirements/static/lint.in
|
||||
#
|
||||
astroid==1.4.9 # via pylint
|
||||
isort==4.3.16 # via pylint
|
||||
lazy-object-proxy==1.3.1 # via astroid
|
||||
mccabe==0.6.1 # via pylint
|
||||
modernize==0.5 # via saltpylint
|
||||
pycodestyle==2.5.0 # via saltpylint
|
||||
pylint==1.6.5
|
||||
saltpylint==2019.1.11
|
||||
six==1.12.0 # via astroid, pylint
|
||||
wrapt==1.11.1 # via astroid
|
|
@ -1,16 +0,0 @@
|
|||
#
|
||||
# This file is autogenerated by pip-compile
|
||||
# To update, run:
|
||||
#
|
||||
# pip-compile -o requirements/static/py3.6/lint.txt -v requirements/static/lint.in
|
||||
#
|
||||
astroid==1.4.9 # via pylint
|
||||
isort==4.3.16 # via pylint
|
||||
lazy-object-proxy==1.3.1 # via astroid
|
||||
mccabe==0.6.1 # via pylint
|
||||
modernize==0.5 # via saltpylint
|
||||
pycodestyle==2.5.0 # via saltpylint
|
||||
pylint==1.6.5
|
||||
saltpylint==2019.1.11
|
||||
six==1.12.0 # via astroid, pylint
|
||||
wrapt==1.11.1 # via astroid
|
Loading…
Add table
Reference in a new issue