Skip to content

Commit 3ae7370

Browse files
committed
Added support for black autoformatting
1 parent 82ab828 commit 3ae7370

File tree

206 files changed

+21087
-13828
lines changed

Some content is hidden

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

206 files changed

+21087
-13828
lines changed

.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
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

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

66
[dev-packages]
77
graphql-core-next = {path = ".", editable = true}
8+
black = "*"
89
flake8 = "*"
910
mypy = "*"
1011
pytest = "*"

0 commit comments

Comments
 (0)