@@ -28,27 +28,27 @@ a bug report:
2828
2929
3030 ```python
31- >>> import zarr
32- >>> g = zarr.group()
33- .. .
31+ import zarr
32+ g = zarr.group()
33+ # etc .
3434 ```
3535
36- 2. Information about the version of Zarr, along with versions of dependencies and the
36+ 2. An explanation of why the current behaviour is wrong/not desired, and what you
37+ expect instead.
38+
39+ 3. Information about the version of Zarr, along with versions of dependencies and the
3740 Python interpreter, and installation information. The version of Zarr can be obtained
3841 from the ``zarr.__version__ `` property. Please also state how Zarr was installed,
3942 e.g., "installed via pip into a virtual environment", or "installed using conda".
40- Information about other packages installed can be obtained by executing ``pip list ``
41- (if using pip to install packages) or ``conda list `` (if using conda to install
43+ Information about other packages installed can be obtained by executing ``pip freeze ``
44+ (if using pip to install packages) or ``conda env export `` (if using conda to install
4245 packages) from the operating system command prompt. The version of the Python
4346 interpreter can be obtained by running a Python interactive session, e.g.::
4447
4548 $ python
4649 Python 3.6.1 (default, Mar 22 2017, 06:17:05)
4750 [GCC 6.3.0 20170321] on linux
4851
49- 3. An explanation of why the current behaviour is wrong/not desired, and what you
50- expect instead.
51-
5252Enhancement proposals
5353---------------------
5454
@@ -60,7 +60,7 @@ mind that we are likely to be conservative in accepting proposals for new featur
6060reasons for this are that we would like to keep the Zarr code base lean and focused on
6161a core set of functionalities, and available time for development, review and maintenance
6262of new features is limited. But if you have a great idea, please don't let that stop
63- you posting it on GitHub, just please don't be offended if we respond cautiously.
63+ you from posting it on GitHub, just please don't be offended if we respond cautiously.
6464
6565Contributing code and/or documentation
6666--------------------------------------
@@ -103,6 +103,9 @@ To verify that your development environment is working, you can run the unit tes
103103Creating a branch
104104~~~~~~~~~~~~~~~~~
105105
106+ Before you do any new work or submit a pull request, please open an issue on GitHub to
107+ report the bug or propose the feature you'd like to add.
108+
106109It's best to create a new, separate branch for each piece of work you want to do. E.g.::
107110
108111 git fetch upstream
@@ -113,16 +116,20 @@ this branch specific to one bug or feature so it is clear what the branch brings
113116Zarr.
114117
115118To update this branch with latest code from Zarr, you can retrieve the changes from
116- the master branch::
119+ the master branch and perform a rebase ::
117120
118121 git fetch upstream
119122 git rebase upstream/master
120123
121124This will replay your commits on top of the latest Zarr git master. If this leads to
122125merge conflicts, these need to be resolved before submitting a pull request.
126+ Alternatively, you can merge the changes in from upstream/master instead of rebasing,
127+ which can be simpler::
123128
124- Before you do any new work or submit a pull request, please open an issue on GitHub to
125- report the bug or propose the feature you'd like to add.
129+ git fetch upstream
130+ git merge upstream/master
131+
132+ Again, any conflicts need to be resolved before submitting a pull request.
126133
127134Running the test suite
128135~~~~~~~~~~~~~~~~~~~~~~
@@ -152,7 +159,9 @@ tox environment runs the doctests, i.e., doctests only need to succeed under Pyt
152159
153160All tests are automatically run via Travis (Linux) and AppVeyor (Windows) continuous
154161integration services for every pull request. Tests must pass under both services before
155- code can be accepted.
162+ code can be accepted. Test coverage is also collected automatically via the Coveralls
163+ service, and total coverage over all builds must be 100% (although individual builds
164+ may be lower due to Python 2/3 or other differences).
156165
157166Code standards
158167~~~~~~~~~~~~~~
@@ -183,8 +192,8 @@ Documentation
183192
184193Docstrings for user-facing classes and functions should follow the `numpydoc
185194<https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt> `_ standard,
186- including sections for Parameters and Examples. All examples will be run as doctests
187- under Python 3.6.
195+ including sections for Parameters and Examples. All examples should run as doctests
196+ under Python 3.6 only .
188197
189198Zarr uses Sphinx for documentation, hosted on readthedocs.org. Documentation is
190199written in the RestructuredText markup language (.rst files) in the ``docs `` folder.
0 commit comments