Skip to content

Commit

Permalink
Execution fixes plus black (#8)
Browse files Browse the repository at this point in the history
* Fixed execution class execution
* Added support for black autoformatting
* Reformatted everything with black
  • Loading branch information
syrusakbary authored and Cito committed Sep 19, 2018
1 parent a003063 commit 1bcd466
Show file tree
Hide file tree
Showing 208 changed files with 21,128 additions and 13,861 deletions.
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

0 comments on commit 1bcd466

Please sign in to comment.