Skip to content

Commit

Permalink
✨ add dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
enryH committed Sep 9, 2024
1 parent 18de608 commit 152ce77
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ jobs:
# remove repository key to set the default to pypi (not test.pypi.org)
repository-url: https://test.pypi.org/legacy/
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
password: ${{ secrets.PYPI_API_TOKEN }}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ docs\conf.py:
Install package so that new code is picked up in a restared python interpreter:
```
pip install -e .
pip install -e ".[dev]"
```
## TestPyPI
Expand All @@ -143,4 +143,4 @@ The documentation is build using readthedocs automatically. See
[project on Readthedocs](https://readthedocs.org/projects/rasmussenlab-python-package/).
- make sure to enable build from PRs in the settings (advanded settings)
- checkout configuration file: [`.readthedocs.yaml`](.readthedocs.yaml)
- checkout configuration file: [`.readthedocs.yaml`](.readthedocs.yaml)
13 changes: 8 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,21 @@
nb_merge_streams = True

# https://myst-nb.readthedocs.io/en/latest/authoring/custom-formats.html#write-custom-formats
nb_custom_formats = {
".py": ["jupytext.reads", {"fmt": "py:percent"}]
}
nb_custom_formats = {".py": ["jupytext.reads", {"fmt": "py:percent"}]}

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ["_build", "Thumbs.db",
".DS_Store", "jupyter_execute", "conf.py",]
exclude_patterns = [
"_build",
"Thumbs.db",
".DS_Store",
"jupyter_execute",
"conf.py",
]


# Intersphinx options
Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
authors = [
{name = "Jakob Nybo Nissen", email = "[email protected]"},
{name = "Henry Webel", email = "[email protected]"},
{ name = "Jakob Nybo Nissen", email = "[email protected]" },
{ name = "Henry Webel", email = "[email protected]" },
]
description = "A small example package"
name = "rasmussenlab-mockup"
Expand Down Expand Up @@ -31,10 +31,11 @@ docs = [
"sphinx-new-tab-link!=0.2.2",
"jupytext",
]
dev = ["black", "ruff", "pytest"]

# Configure the Ruff linter: Ignore error number 501
[tool.ruff]
ignore = ["E501"]
lint.ignore = ["E501"]

[build-system]
build-backend = "setuptools.build_meta"
Expand Down

0 comments on commit 152ce77

Please sign in to comment.