-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from objectrocket/updates_circleci_tox
Updates circleci tox
- Loading branch information
Showing
8 changed files
with
119 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: 2.1 | ||
jobs: | ||
lint_test: | ||
docker: | ||
- image: circleci/python:2.7.13 | ||
steps: | ||
- checkout | ||
|
||
- run: | ||
name: install test dependencies | ||
command: sudo pip install --upgrade pip tox | ||
- run: | ||
name: lint and test | ||
command: tox -r | ||
|
||
workflows: | ||
version: 2 | ||
basic-workflow: | ||
jobs: | ||
- lint_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
appdirs==1.4.3 | ||
atomicwrites==1.3.0 | ||
attrs==19.3.0 | ||
certifi==2020.4.5.1 | ||
configparser==4.0.2 | ||
contextlib2==0.6.0.post1 | ||
distlib==0.3.0 | ||
elasticsearch==7.6.0 | ||
entrypoints==0.3 | ||
enum34==1.1.10 | ||
filelock==3.0.12 | ||
flake8==3.7.9 | ||
funcsigs==1.0.2 | ||
functools32==3.2.3.post2 | ||
importlib-metadata==1.6.0 | ||
importlib-resources==1.4.0 | ||
mccabe==0.6.1 | ||
more-itertools==5.0.0 | ||
packaging==20.3 | ||
pathlib2==2.3.5 | ||
pluggy==0.13.1 | ||
py==1.8.1 | ||
pycodestyle==2.5.0 | ||
pyflakes==2.1.1 | ||
pyparsing==2.4.7 | ||
pytest==4.6.9 | ||
scandir==1.10.0 | ||
singledispatch==3.4.0.3 | ||
six==1.14.0 | ||
toml==0.10.0 | ||
tox==3.14.6 | ||
typing==3.7.4.1 | ||
urllib3==1.25.8 | ||
virtualenv==20.0.17 | ||
wcwidth==0.1.9 | ||
zipp==1.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
certifi | ||
elasticsearch | ||
packaging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# content of: tox.ini , put in same dir as setup.py | ||
[tox] | ||
envlist = lint | ||
skipsdist = True | ||
|
||
[flake8] | ||
exclude = *.egg-info,.venv,.git,.tox,build,dist,docs,Dockerfile | ||
ignore = E501,W504,E126,F841,E251 | ||
max-line-length = 152 | ||
|
||
[testenv:lint] | ||
# install pytest in the virtualenv where commands will be executed | ||
deps = -r{toxinidir}/requirements/dev.txt | ||
commands = | ||
# NOTE: you can run any command line tool here - not just tests | ||
flake8 |