forked from eamigo86/graphene-django-extras
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Project: - Removed support for python<3.6 from classifier - Added poetry package management - Added dev dependencies in poetry - Added black, coverage, travis badges to README Testing: - Removed testing project and added tests folder - Tests are now using pytest with the appropriate configuration - Added tox for testings purposes - Added quality checks - Added coverage Quality: - Added linters - Blacked project
- Loading branch information
Showing
57 changed files
with
2,509 additions
and
1,428 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,7 @@ | ||
# Keep in sync with setup.cfg which is used for source packages. | ||
|
||
[flake8] | ||
ignore = E203, E266, E501, W503 | ||
max-line-length = 80 | ||
max-complexity = 18 | ||
select = B,C,E,F,W,T4,B9 |
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 |
---|---|---|
|
@@ -13,3 +13,9 @@ __pycache__ | |
|
||
# testing files | ||
*db.sqlite3 | ||
|
||
# Specific Files & Folders | ||
.coverage* | ||
.tox/ | ||
.pytest*/ | ||
|
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,40 @@ | ||
language: python | ||
dist: xenial | ||
|
||
stages: | ||
- quality | ||
- test | ||
|
||
cache: | ||
pip: true | ||
directories: | ||
- $HOME/.cache/pypoetry | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- { python: "3.6", env: DJANGO=2.0 } | ||
- { python: "3.6", env: DJANGO=2.1 } | ||
|
||
- { python: "3.7", env: DJANGO=2.0 } | ||
- { python: "3.7", env: DJANGO=2.1 } | ||
|
||
- { python: "3.6", env: TOXENV=quality } | ||
|
||
before_install: | ||
- pip install codecov | ||
|
||
install: | ||
- pip install pip -U | ||
- pip install tox-travis | ||
- curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python | ||
- source $HOME/.poetry/env | ||
script: | ||
- tox | ||
|
||
after_success: | ||
- pip install codecov | ||
- codecov -e TOXENV,DJANGO | ||
|
||
notifications: | ||
email: false |
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 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
Oops, something went wrong.