Skip to content

Commit 1bcd466

Browse files
syrusakbaryCito
authored andcommitted
Execution fixes plus black (#8)
* Fixed execution class execution * Added support for black autoformatting * Reformatted everything with black
1 parent a003063 commit 1bcd466

File tree

208 files changed

+21128
-13861
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+21128
-13861
lines changed

.flake8

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[flake8]
2+
ignore = E203,W503,E704
23
exclude = .git,.mypy_cache,.pytest_cache,.tox,.venv,__pycache__,build,dist,docs
34
max-line-length = 88

.travis.yml

+9-8
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@ dist: xenial
44
sudo: true
55

66
python:
7-
- 3.6
8-
- 3.7
7+
- 3.6
8+
- 3.7
99

1010
install:
11-
- pip install pipenv
12-
- pipenv install --dev
11+
- pip install pipenv black
12+
- pipenv install --dev
1313

1414
script:
15-
- flake8 graphql tests
16-
- mypy graphql
17-
- pytest --cov-report term-missing --cov=graphql
15+
- flake8 graphql tests
16+
- black graphql tests --check
17+
- mypy graphql
18+
- pytest --cov-report term-missing --cov=graphql
1819

1920
after_success:
20-
- coveralls
21+
- coveralls

Pipfile

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ name = "pypi"
55

66
[dev-packages]
77
graphql-core-next = {path = ".", editable = true}
8+
# Line below commented as causes issues with Pipenv
9+
# black = "18.6b4"
810
flake8 = "*"
911
mypy = "*"
1012
pytest = "*"

0 commit comments

Comments
 (0)