-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
87 changed files
with
175 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,21 +44,21 @@ aren't making branches directly on 'spacetelescope/jwst'. | |
|
||
2. Now that you have remotely forked `jwst`, it needs to be downloaded | ||
to your machine. To create this 'local' clone, choose an area on your file system | ||
and use the `git clone` command to dowload your remote fork on to your machine. | ||
and use the `git clone` command to download your remote fork on to your machine. | ||
|
||
>> cd directory | ||
>> git clone [email protected]:<your_username>/jwst.git | ||
|
||
3. Make sure that your references to 'origin' and 'upstream' are set correctly - you will | ||
need this to keep everything in sync and push your changes online. While your inital | ||
need this to keep everything in sync and push your changes online. While your initial | ||
local clone will be an exact copy of your remote, which is an exact copy of the 'upstream' | ||
`spacetelescope/jwst`, these all must be kept in sync manually (via git fetch/pull/push). | ||
|
||
To check the current status of these references: | ||
|
||
>> git remote -v | ||
|
||
After your inital clone, you will likely be missing the reference to 'upstream' | ||
After your initial clone, you will likely be missing the reference to 'upstream' | ||
(which is just the most commonly used name in git to refer to the main project repository - you | ||
can call this whatever you want but the origin/upstream conventions are most commonly used) - to | ||
set this, use the `add` git command: | ||
|
@@ -388,7 +388,7 @@ Our pre-commit Git hook, also described in the | |
[Installing JWST for Development](Step-3-Installing-jwst-for-development) section, | ||
is designed to help contributors run all the checks on their contributions every time they commit. | ||
|
||
The following three style checks are performed: | ||
The following style checks are performed: | ||
|
||
* **PEP8-compliant code** | ||
|
||
|
@@ -416,10 +416,19 @@ The following three style checks are performed: | |
The docstring style for the `jwst` repository generally conforms to the | ||
[Numpy style guide](https://numpydoc.readthedocs.io/en/latest/format.html), and the docstring | ||
style rules are enforced using [numpydoc-validation](https://numpydoc.readthedocs.io/en/latest/validation.html). | ||
To run these checks locally, use the command | ||
|
||
To run these checks standalone, use the command | ||
|
||
>> pre-commit run numpydoc-validation | ||
|
||
* **Spell checking** | ||
|
||
We use [Codespell](https://github.com/codespell-project/codespell) to check for common | ||
misspellings in both our codebase and documentation. | ||
To run the spell checker standalone, use the command | ||
|
||
>> pre-commit run codespell | ||
|
||
|
||
* **PEP-compliant type hints** | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add codespell spell checker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.