You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Overview
6
6
7
7
Each tutorial is a `Jupyter notebook <http://jupyter.org/>`_ file. Each notebook is saved in a separate directory within the ``tutorials/notebooks``
8
8
subdirectory in this project. For an example, let's look at the source notebook
9
-
of the `FITS-header <https://github.com/astropy/astropy-tutorials/tree/master/tu
9
+
of the `FITS-header <https://github.com/astropy/astropy-tutorials/tree/main/tu
10
10
torials/notebooks/FITS-header/>`_ tutorial. Within
11
11
``tutorials/notebooks/FITS-header``, there is a single Jupyter notebook file
12
12
that contains the text and code for the tutorial, and any small data files used
@@ -76,7 +76,7 @@ Code
76
76
* Variable names should be descriptive, e.g., ``galaxy_mass``, ``u_mag``
77
77
* Use the print function explicitly to display information about variables
78
78
* As much as possible, comply with `PEP8 <https://www.python.org/dev/peps/pep-0008/>`_.
79
-
* As much as possible, comply with Jupyter notebook style guides - `STScI style guide <https://github.com/spacetelescope/style-guides/blob/master/guides/jupyter-notebooks.md>`_ and `Official Coding Style <https://jupyter.readthedocs.io/en/latest/development_guide/coding_style.html>`_.
79
+
* As much as possible, comply with Jupyter notebook style guides - `STScI style guide <https://github.com/spacetelescope/style-guides/blob/main/guides/jupyter-notebooks.md>`_ and `Official Coding Style <https://jupyter.readthedocs.io/en/latest/development_guide/coding_style.html>`_.
80
80
* Imports
81
81
* Do not use ``from package import *``; import packages, classes, and
82
82
functions explicitly
@@ -188,7 +188,7 @@ your ``requirements.txt`` file would look like:
188
188
numpy>=1.13
189
189
190
190
To see an example, have a look at the FITS-header `requirements.txt file <https:
0 commit comments