-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to scverse cookiecutter template (#402)
* Add tests for databases and fix IEDB Despite sticking to v3 version number, IEDB have updated their file format * BCR and TCR are now in separate files * the csv header has changed. Names are different, and there are now *two* rows representing the header. * rename to src * update readme * WIP * update pyproject.toml * add changelog * fix tests * apply pre-commit autofixes * update pre-commit file * clean up sphinx modules * Switch to ipynb tutorials for now * WIP docs * WIP docs * WIP docs * update CI * update conda deps * Add action to test notebook * add RTD config * clean up imports in ddatasets * add dependency for coverage * CI * CI * doc fixes * CI * CI * get rid of raw cells in IO tutorial * CI * convert raw cells in 3k tutorial * bump tutorials * debug rtd * Revert "debug rtd" This reverts commit 3b5ef86. * debug rtd * debug rtd * fix spacing * exclude a few ruff warnings * update editorconfig * fix blacken-docs pre-commit * Add cruft.json * update target versions for black/ruff * update README * sphinx fail on warning * debug rtd * debug rtd * debug rtd * debug RTD
- Loading branch information
Showing
157 changed files
with
49,531 additions
and
46,189 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"template": "https://github.com/scverse/cookiecutter-scverse", | ||
"commit": "6a4338030e0c83a9034d607ed66abeff83e18840", | ||
"checkout": null, | ||
"context": { | ||
"cookiecutter": { | ||
"project_name": "scirpy", | ||
"package_name": "scirpy", | ||
"project_description": "A very interesting piece of code", | ||
"author_full_name": "Gregor Sturm", | ||
"author_email": "[email protected]", | ||
"github_user": "grst", | ||
"project_repo": "https://github.com/scverse/scirpy", | ||
"license": "BSD 3-Clause License", | ||
"_copy_without_render": [ | ||
".github/workflows/**.yaml", | ||
"docs/_templates/autosummary/**.rst" | ||
], | ||
"_template": "https://github.com/scverse/cookiecutter-scverse" | ||
} | ||
}, | ||
"directory": null | ||
} |
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 |
---|---|---|
@@ -1,15 +1,18 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
max_line_length = 88 | ||
insert_final_newline = true | ||
|
||
[*.py] | ||
indent_size = 4 | ||
indent_style = space | ||
[*.{yml,yaml}] | ||
indent_size = 2 | ||
|
||
[.cruft.json] | ||
indent_size = 2 | ||
|
||
[Makefile] | ||
indent_style = tab |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Pickle files (for testing) should always have UNIX line endings. | ||
# Pickle files (for testing) should always have UNIX line endings. | ||
*.pkl text eol=lf |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Scverse Community Forum | ||
url: https://discourse.scverse.org/ | ||
about: If you have questions about “How to do X”, please ask them here. | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Scverse Community Forum | ||
url: https://discourse.scverse.org/ | ||
about: If you have questions about “How to do X”, please ask them here. |
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,29 @@ | ||
name: Check Build | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
cache: "pip" | ||
cache-dependency-path: "**/pyproject.toml" | ||
- name: Install build dependencies | ||
run: python -m pip install --upgrade pip wheel twine build | ||
- name: Build package | ||
run: python -m build | ||
- name: Check package | ||
run: twine check --strict dist/*.whl |
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "*.*.*" | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: Install hatch | ||
run: pip install hatch | ||
|
||
- name: Build project for distribution | ||
run: hatch build | ||
|
||
- name: Publish a Python distribution to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
Oops, something went wrong.