Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
ref: Use Python 3.6 for linting (no sudo!)
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker committed Sep 25, 2018
1 parent ae0248b commit 364795f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ matrix:
sudo: true

- name: Linting
python: "3.7"
python: "3.6"
install:
- pip install tox
script: tox -e linters
Expand Down
18 changes: 9 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ commands:


[testenv:flake8]
basepython = python3.7
basepython = python3.6
skip_install = true
deps =
flake8
Expand All @@ -90,7 +90,7 @@ commands =
flake8 raven/ setup.py

[testenv:pylint]
basepython = python3.7
basepython = python3.6
skip_install = true
deps =
pyflakes
Expand All @@ -100,15 +100,15 @@ commands =


[testenv:bandit]
basepython = python3.7
basepython = python3.6
skip_install = true
deps =
bandit
commands =
bandit -r raven/ -c .bandit.yml

[testenv:linters]
basepython = python3.7
basepython = python3.6
skip_install = true
deps =
{[testenv:flake8]deps}
Expand All @@ -122,15 +122,15 @@ commands =
{[testenv:bandit]commands}

[testenv:readme]
basepython = python3.7
basepython = python3.6
deps =
readme_renderer
commands =
python setup.py check -r -s

# Release tooling
[testenv:build]
basepython = python3.7
basepython = python3.6
skip_install = true
deps =
wheel
Expand All @@ -139,23 +139,23 @@ commands =
python setup.py -q sdist bdist_wheel

[testenv:release]
basepython = python3.7
basepython = python3.6
skip_install = true
deps =
bumpversion
commands =
bumpversion --tag --commit {posargs} release

[testenv:minor]
basepython = python3.7
basepython = python3.6
skip_install = true
deps =
bumpversion
commands =
bumpversion --commit {posargs} minor

[testenv:dev]
basepython = python3.7
basepython = python3.6
skip_install = true
deps =
bumpversion
Expand Down

0 comments on commit 364795f

Please sign in to comment.