-
Notifications
You must be signed in to change notification settings - Fork 5
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
scverse-bot
authored and
scverse-bot
committed
May 21, 2024
1 parent
a40e7f8
commit 023aab2
Showing
10 changed files
with
153 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
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,16 @@ | ||
diff a/.github/workflows/test.yaml b/.github/workflows/test.yaml (rejected hunks) | ||
@@ -24,11 +24,11 @@ jobs: | ||
matrix: | ||
include: | ||
- os: ubuntu-latest | ||
- python: "3.9" | ||
+ python: "3.10" | ||
- os: ubuntu-latest | ||
- python: "3.11" | ||
+ python: "3.12" | ||
- os: ubuntu-latest | ||
- python: "3.11" | ||
+ python: "3.12" | ||
pip-flags: "--pre" | ||
name: PRE-RELEASE DEPENDENCIES | ||
|
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 |
---|---|---|
|
@@ -39,6 +39,7 @@ MANIFEST | |
/.pytest_cache/ | ||
/.cache/ | ||
/data/ | ||
/node_modules/ | ||
|
||
# docs | ||
/docs/generated/ | ||
|
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,34 @@ | ||
diff a/.pre-commit-config.yaml b/.pre-commit-config.yaml (rejected hunks) | ||
@@ -6,29 +6,18 @@ default_stages: | ||
- push | ||
minimum_pre_commit_version: 2.16.0 | ||
repos: | ||
- - repo: https://github.com/psf/black | ||
- rev: "24.4.2" | ||
- hooks: | ||
- - id: black | ||
- - repo: https://github.com/asottile/blacken-docs | ||
- rev: 1.16.0 | ||
- hooks: | ||
- - id: blacken-docs | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v4.0.0-alpha.8 | ||
hooks: | ||
- id: prettier | ||
- # Newer versions of node don't work on systems that have an older version of GLIBC | ||
- # (in particular Ubuntu 18.04 and Centos 7) | ||
- # EOL of Centos 7 is in 2024-06, we can probably get rid of this then. | ||
- # See https://github.com/scverse/cookiecutter-scverse/issues/143 and | ||
- # https://github.com/jupyterlab/jupyterlab/issues/12675 | ||
- language_version: "17.9.1" | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.4.4 | ||
hooks: | ||
- id: ruff | ||
+ types_or: [python, pyi, jupyter] | ||
args: [--fix, --exit-non-zero-on-fix] | ||
+ - id: ruff-format | ||
+ types_or: [python, pyi, jupyter] | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: |
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 @@ | ||
diff a/README.md b/README.md (rejected hunks) | ||
@@ -17,7 +17,7 @@ Please refer to the [documentation][link-docs]. In particular, the | ||
|
||
## Installation | ||
|
||
-You need to have Python 3.9 or newer installed on your system. If you don't have | ||
+You need to have Python 3.10 or newer installed on your system. If you don't have | ||
Python installed, we recommend installing [Mambaforge](https://github.com/conda-forge/miniforge#mambaforge). | ||
|
||
There are several alternative options to install biolord: |
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,16 @@ | ||
diff a/docs/conf.py b/docs/conf.py (rejected hunks) | ||
@@ -36,10 +36,10 @@ needs_sphinx = "4.0" | ||
|
||
html_context = { | ||
"display_github": True, # Integrate GitHub | ||
- "github_user": "zoepiran", # Username | ||
- "github_repo": project_name, # Repo name | ||
- "github_version": "main", # Version | ||
- "conf_py_path": "/docs/", # Path in the checkout to the docs root | ||
+ "github_user": "zoepiran", | ||
+ "github_repo": "https://github.com/nitzanlab/biolord", | ||
+ "github_version": "main", | ||
+ "conf_py_path": "/docs/", | ||
} | ||
|
||
# -- General configuration --------------------------------------------------- |
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,62 @@ | ||
diff a/pyproject.toml b/pyproject.toml (rejected hunks) | ||
@@ -7,7 +7,7 @@ name = "biolord" | ||
version = "0.0.1" | ||
description = "A deep generative framework for disentangling known and unknown attributes in single-cell data." | ||
readme = "README.md" | ||
-requires-python = ">=3.9" | ||
+requires-python = ">=3.10" | ||
license = {file = "LICENSE"} | ||
authors = [ | ||
{name = "Zoe Piran"}, | ||
@@ -21,19 +21,19 @@ urls.Home-page = "https://github.com/nitzanlab/biolord" | ||
dependencies = [ | ||
"anndata", | ||
# for debug logging (referenced from the issue template) | ||
- "session-info" | ||
+ "session-info", | ||
] | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"pre-commit", | ||
- "twine>=4.0.2" | ||
+ "twine>=4.0.2", | ||
] | ||
doc = [ | ||
"docutils>=0.8,!=0.18.*,!=0.19.*", | ||
"sphinx>=4", | ||
"sphinx-book-theme>=1.0.0", | ||
- "myst-nb", | ||
+ "myst-nb>=1.1.0", | ||
"sphinxcontrib-bibtex>=1.0.0", | ||
"sphinx-autodoc-typehints", | ||
"sphinxext-opengraph", | ||
@@ -81,7 +84,7 @@ select = [ | ||
"RUF100", # Report unused noqa directives | ||
] | ||
ignore = [ | ||
- # line too long -> we accept long comment lines; black gets rid of long code lines | ||
+ # line too long -> we accept long comment lines; formatter gets rid of long code lines | ||
"E501", | ||
# Do not assign a lambda expression, use a def -> lambda expression assignments are convenient | ||
"E731", | ||
@@ -108,10 +111,10 @@ ignore = [ | ||
"D213", | ||
] | ||
|
||
-[tool.ruff.pydocstyle] | ||
+[tool.ruff.lint.pydocstyle] | ||
convention = "numpy" | ||
|
||
-[tool.ruff.per-file-ignores] | ||
+[tool.ruff.lint.per-file-ignores] | ||
"docs/*" = ["I"] | ||
"tests/*" = ["D"] | ||
"*/__init__.py" = ["F401"] | ||
@@ -125,5 +128,5 @@ skip = [ | ||
"docs/changelog.md", | ||
"docs/references.bib", | ||
"docs/references.md", | ||
- "docs/notebooks/example.ipynb" | ||
+ "docs/notebooks/example.ipynb", | ||
] |