-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mostly a clean-up release. - Use `hatch` and `ruff` instead of `poetry` and many different/slow linters - Properly format code according to ruff suggestions, enable `black` preview
- Loading branch information
Showing
57 changed files
with
1,409 additions
and
3,314 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -107,3 +107,9 @@ ENV/ | |
|
||
# mkdocs build dir | ||
site/ | ||
|
||
# profiling data | ||
prof/ | ||
|
||
# hatch-vcs | ||
_version.py |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -52,11 +52,11 @@ Ready to contribute? Here's how to set up `jwskate` for local development. | |
$ git clone [email protected]:your_name_here/jwskate.git | ||
``` | ||
|
||
3. Ensure [poetry](https://python-poetry.org/docs/) is installed. | ||
3. Ensure [hatch](https://hatch.pypa.io/) is installed. | ||
4. Install dependencies and start your virtualenv: | ||
|
||
``` | ||
$ poetry install -E test -E doc -E dev | ||
$ hatch env create | ||
``` | ||
|
||
5. Create a branch for local development: | ||
|
@@ -67,11 +67,10 @@ Ready to contribute? Here's how to set up `jwskate` for local development. | |
|
||
Now you can make your changes locally. | ||
|
||
6. When you're done making changes, check that your changes pass the tests, including testing other Python versions, | ||
with tox: | ||
6. When you're done making changes, check that your changes pass the tests: | ||
|
||
``` | ||
$ tox | ||
$ hatch run test:test | ||
``` | ||
|
||
7. Commit your changes and push your branch to GitHub: | ||
|
@@ -91,29 +90,5 @@ Before you submit a pull request, check that it meets these guidelines: | |
1. The pull request should include tests. | ||
2. If the pull request adds functionality, the docs should be updated. Put your new functionality into a function with a | ||
docstring, and add the feature to the list in README.md. | ||
3. The pull request should work for Python 3.6, 3.7, 3.8, 3.9 and for PyPy. Check | ||
3. The pull request should work for Python 3.8+ and for PyPy. Check | ||
https://github.com/guillp/jwskate/actions and make sure that the tests pass for all supported Python versions. | ||
|
||
## Tips\`\`\` | ||
|
||
``` | ||
$ pytest tests.test_jwskate | ||
``` | ||
|
||
```To run a subset of tests. | ||
## Deploying | ||
A reminder for the maintainers on how to deploy. | ||
Make sure all your changes are committed (including an entry in HISTORY.md). | ||
Then run: | ||
``` | ||
|
||
$ poetry patch # possible: major / minor / patch $ git push $ git push --tags | ||
|
||
``` | ||
Travis will then deploy to PyPI if tests pass. | ||
``` |
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.