Skip to content

Commit

Permalink
Fix broken coverage (#66)
Browse files Browse the repository at this point in the history
* Dropped not used

* Fixed travis, drop tox

* Fixed isort

* Bump pytest, update requirements

* Bump requirements
  • Loading branch information
hzlmn authored Oct 24, 2018
1 parent 9481eb6 commit 14c7465
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 135 deletions.
12 changes: 0 additions & 12 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,21 @@ python:
- "3.6"

install:
- pip install -U setuptools
- pip install -U pip
- pip install -U wheel
- pip install -U tox
- pip install codecov

- pip install -r requirements_dev.txt
- pip install -e .

script:
- export TOXENV=py`python -c 'import sys; print("".join(map(str, sys.version_info[:2])))'`
- echo "$TOXENV"
- flake8 --show-source aiohttp_jwt
- isort --check-only -rc aiohttp_jwt --diff

- flake8 --show-source setup.py
- isort --check-only setup.py --diff

- flake8 --show-source tests
- isort --check-only -rc tests --diff

- tox
- pytest --cov=./aiohttp_jwt tests/

after_success:
- codecov
Expand Down
46 changes: 0 additions & 46 deletions CODE_OF_CONDUCT.md

This file was deleted.

23 changes: 0 additions & 23 deletions CONTRIBUTING.md

This file was deleted.

20 changes: 0 additions & 20 deletions Makefile

This file was deleted.

26 changes: 20 additions & 6 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
aiohttp==3.1.2
async-timeout==2.0.1
atomicwrites==1.2.1
attrs==18.2.0
chardet==3.0.4
coverage==4.5.1
flake8==3.5.0
pytest==3.5.0
pytest-cov==2.5.1
pytest-aiohttp==0.3.0
pytest-mock==1.8.0
tox==3.0.0
idna==2.7
idna-ssl==1.1.0
isort==4.3.4
mccabe==0.6.1
more-itertools==4.3.0
multidict==4.4.2
pluggy==0.8.0
py==1.7.0
pycodestyle==2.3.1
pyflakes==1.6.0
PyJWT==1.6.1
-e .
pytest==3.9.2
pytest-aiohttp==0.3.0
pytest-cov==2.5.1
pytest-mock==1.8.0
six==1.11.0
yarl==1.2.6
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import jwt
import pytest
from aiohttp import web

from aiohttp_jwt import JWTMiddleware


Expand Down
1 change: 1 addition & 0 deletions tests/test_middleware.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import jwt
import pytest
from aiohttp import web

from aiohttp_jwt import JWTMiddleware


Expand Down
1 change: 1 addition & 0 deletions tests/test_permissions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import jwt
import pytest
from aiohttp import web

from aiohttp_jwt import check_permissions, login_required, match_any


Expand Down
20 changes: 0 additions & 20 deletions tox.ini

This file was deleted.

0 comments on commit 14c7465

Please sign in to comment.