Skip to content

Commit f641e58

Browse files
committed
Update contributing doc
1 parent 738f447 commit f641e58

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

CONTRIBUTING.rst

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Ready to contribute? Here's how to set up `graphql_ws` for local development.
6868

6969
$ mkvirtualenv graphql_ws
7070
$ cd graphql_ws/
71-
$ python setup.py develop
71+
$ pip install -e .[dev]
7272

7373
4. Create a branch for local development::
7474

@@ -79,11 +79,8 @@ Ready to contribute? Here's how to set up `graphql_ws` for local development.
7979
5. When you're done making changes, check that your changes pass flake8 and the tests, including testing other Python versions with tox::
8080

8181
$ flake8 graphql_ws tests
82-
$ python setup.py test or py.test
8382
$ tox
8483

85-
To get flake8 and tox, just pip install them into your virtualenv.
86-
8784
6. Commit your changes and push your branch to GitHub::
8885

8986
$ git add .
@@ -101,14 +98,6 @@ Before you submit a pull request, check that it meets these guidelines:
10198
2. If the pull request adds functionality, the docs should be updated. Put
10299
your new functionality into a function with a docstring, and add the
103100
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
105102
https://travis-ci.org/graphql-python/graphql_ws/pull_requests
106103
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

Comments
 (0)