Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution fixes plus black #8

Merged
merged 5 commits into from
Sep 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[flake8]
ignore = E203,W503,E704
exclude = .git,.mypy_cache,.pytest_cache,.tox,.venv,__pycache__,build,dist,docs
max-line-length = 88
17 changes: 9 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@ dist: xenial
sudo: true

python:
- 3.6
- 3.7
- 3.6
- 3.7

install:
- pip install pipenv
- pipenv install --dev
- pip install pipenv black
- pipenv install --dev

script:
- flake8 graphql tests
- mypy graphql
- pytest --cov-report term-missing --cov=graphql
- flake8 graphql tests
- black graphql tests --check
- mypy graphql
- pytest --cov-report term-missing --cov=graphql

after_success:
- coveralls
- coveralls
2 changes: 2 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ name = "pypi"

[dev-packages]
graphql-core-next = {path = ".", editable = true}
# Line below commented as causes issues with Pipenv
# black = "18.6b4"
flake8 = "*"
mypy = "*"
pytest = "*"
Expand Down
Loading