Skip to content

Commit

Permalink
Merge pull request #139 from graphql-python/feature/introduce-conftest
Browse files Browse the repository at this point in the history
feat: support python 3.8 and introduce conftest.py
  • Loading branch information
abawchen authored Mar 13, 2020
2 parents 67e8932 + d308ce3 commit 28ec7e5
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ _build/
build/
dist/
graphene_mongo.egg-info/
htmlcov/
*.pyc
*.swo
*.swp
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ python:
- "3.4"
- "3.5"
- "3.6"
- "3.8"
install:
pip install -r requirements.txt
script: make test
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion graphene_mongo/tests/test_fields.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from . import nodes
from .setup import fixtures
from ..fields import MongoengineConnectionField


Expand Down
1 change: 0 additions & 1 deletion graphene_mongo/tests/test_mutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from graphene.relay import Node

from .setup import fixtures
from .models import Article, Editor
from .nodes import ArticleNode, EditorNode

Expand Down
1 change: 0 additions & 1 deletion graphene_mongo/tests/test_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

from . import models
from . import types
from .setup import fixtures, fixtures_dirname


def test_should_query_editor(fixtures, fixtures_dirname):
Expand Down
3 changes: 0 additions & 3 deletions graphene_mongo/tests/test_relay_query.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
import os
import json
import pytest
import base64
import graphene

from graphene.relay import Node

from . import models
from . import nodes
from . import types
from .setup import fixtures, fixtures_dirname
from ..fields import MongoengineConnectionField
from ..types import MongoengineObjectType

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
coveralls==1.2.0
flake8==3.5.0
flake8==3.7.9
flake8-per-file-ignores==0.6
future==0.17.1
graphene>=2.1.3,<3
Expand Down
6 changes: 1 addition & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ description-file = README.md
[flake8]
exclude = setup.py,docs/*,examples/*
max-line-length = 130
per-file-ignores =
graphene_mongo/tests/test_mutation.py: F401, F811
graphene_mongo/tests/test_query.py: F401, F811
graphene_mongo/tests/test_relay_query.py: F401, F811
graphene_mongo/tests/test_fields.py: F401, F811

[coverage:run]
omit = */tests/*

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: PyPy",
"License :: OSI Approved :: MIT License",
],
Expand Down

0 comments on commit 28ec7e5

Please sign in to comment.