-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write functionality to handle non notebook files (#50)
* Write functionality to handle non notebook files. * Commit release how to. * Write tests. * Add docs. * Run black. * Change type of incorrect format read. * Correct typing in check function. * Sort imports. * Commit documentation file.
- Loading branch information
1 parent
b7a9ffc
commit 8680670
Showing
7 changed files
with
122 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
handle a submission in the wrong format | ||
======================================= | ||
|
||
If a file is checked that is not an `ipynb` file then the checker will write the | ||
following to the feedback file:: | ||
|
||
"Your notebook file was not in the correct format and could not be read" | ||
|
||
Note than when batch checking, this will not stop the checker from checking the | ||
other files. |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
release | ||
------- | ||
|
||
The release process: | ||
|
||
1. Adjust the version number in :code:`version.py`. | ||
2. Tag a new release:: | ||
|
||
git tag <release number> | ||
|
||
3. Push the new tag to github:: | ||
|
||
git push --tags | ||
|
||
4. Create a new release on github. | ||
5. Create a distribution:: | ||
|
||
python setup.py sdist bdist_wheel | ||
|
||
6. Use :code:`twine` to upload to pypi:: | ||
|
||
python -m twine upload dist/* |
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