@@ -68,7 +68,7 @@ Ready to contribute? Here's how to set up `graphql_ws` for local development.
68
68
69
69
$ mkvirtualenv graphql_ws
70
70
$ cd graphql_ws/
71
- $ python setup.py develop
71
+ $ pip install -e .[dev]
72
72
73
73
4. Create a branch for local development::
74
74
@@ -79,11 +79,8 @@ Ready to contribute? Here's how to set up `graphql_ws` for local development.
79
79
5. When you're done making changes, check that your changes pass flake8 and the tests, including testing other Python versions with tox::
80
80
81
81
$ flake8 graphql_ws tests
82
- $ python setup.py test or py.test
83
82
$ tox
84
83
85
- To get flake8 and tox, just pip install them into your virtualenv.
86
-
87
84
6. Commit your changes and push your branch to GitHub::
88
85
89
86
$ git add .
@@ -101,14 +98,6 @@ Before you submit a pull request, check that it meets these guidelines:
101
98
2. If the pull request adds functionality, the docs should be updated. Put
102
99
your new functionality into a function with a docstring, and add the
103
100
feature to the list in README.rst.
104
- 3. The pull request should work for Python 2.6, 2.7 , 3.3 , 3.4 and 3.5, and for PyPy . Check
101
+ 3. The pull request should work for Python 2.7, 3.5 , 3.6 , 3.7 and 3.8 . Check
105
102
https://travis-ci.org/graphql-python/graphql_ws/pull_requests
106
103
and make sure that the tests pass for all supported Python versions.
107
-
108
- Tips
109
- ----
110
-
111
- To run a subset of tests::
112
-
113
- $ py.test tests.test_graphql_ws
114
-
0 commit comments