Skip to content

Commit

Permalink
Replace pdbpp by pdbp (#142)
Browse files Browse the repository at this point in the history

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hans-Martin von Gaudecker <hmgaudecker@gmail.com>
  • Loading branch information
3 people committed Dec 11, 2023
1 parent ea6febf commit 4c73fb0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Expand Up @@ -7,11 +7,11 @@ repos:
# - id: check-hooks-apply # Leave nbqa in here.
# - id: identity # Prints all files passed to pre-commits. Debugging.
- repo: https://github.com/lyz-code/yamlfix
rev: 1.13.0
rev: 1.16.0
hooks:
- id: yamlfix
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-added-large-files
args: [--maxkb=25]
Expand All @@ -36,11 +36,11 @@ repos:
- id: check-ast
- id: check-docstring-first
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.32.0
rev: v1.33.0
hooks:
- id: yamllint
- repo: https://github.com/psf/black
rev: 23.9.1
rev: 23.11.0
hooks:
- id: black
language_version: python3.11
Expand All @@ -60,7 +60,7 @@ repos:
- '88'
- --blank
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.292
rev: v0.1.6
hooks:
- id: ruff
# args:
Expand All @@ -73,12 +73,12 @@ repos:
- --extra-keys
- metadata.kernelspec metadata.language_info.version metadata.vscode
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.7.0
rev: 1.7.1
hooks:
- id: nbqa-black
additional_dependencies: [black==23.9.1]
additional_dependencies: [black==23.11.0]
- id: nbqa-ruff
additional_dependencies: [ruff==v0.0.292]
additional_dependencies: [ruff==v0.1.6]
args: ['--ignore=B018,T201']
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.17
Expand Down
6 changes: 4 additions & 2 deletions docs/source/getting_started/cookiecutter_dialogue.md
Expand Up @@ -38,9 +38,11 @@

**project_description** -- Briefly describe your project.

**github_username** -- Your GitHub username.
**github_username** -- Your GitHub username (only relevant for your local machine,
will be different for coauthors / other group members).

**github_email** -- The email linked to your GitHub account.
**github_email** -- The email linked to your GitHub account (only relevant for your
local machine, will be different for coauthors / other group members).

**git_remote_url** -- Paste your remote URL here if applicable.

Expand Down
5 changes: 2 additions & 3 deletions {{cookiecutter.project_slug}}/environment.yml
Expand Up @@ -6,8 +6,7 @@ dependencies:
- {% endif %}conda-lock
- ipykernel
- jupyterlab
- pandas
- pdbpp{% if cookiecutter.add_r_example == 'yes' %}
- pandas{% if cookiecutter.add_r_example == 'yes' %}
- phantomjs{% endif %}
- pip >=21.1
- plotly>=5.13.0
Expand All @@ -34,4 +33,4 @@ dependencies:
- setuptools_scm
- statsmodels
- toml
- pip: [-e ., kaleido]
- pip: [-e ., kaleido, pdbp]
2 changes: 2 additions & 0 deletions {{cookiecutter.project_slug}}/pyproject.toml
Expand Up @@ -7,6 +7,7 @@ write_to = "src/{{ cookiecutter.project_slug }}/_version.py"
[tool.pytask.ini_options]
paths = ["./src/{{ cookiecutter.project_slug }}", "./paper"]
infer_latex_dependencies = true
pdbcls = "pdbp:Pdb"

[tool.ruff]
target-version = "py311"
Expand Down Expand Up @@ -34,6 +35,7 @@ black = 1


[tool.pytest.ini_options]
addopts = "--pdbcls=pdbp:Pdb"
filterwarnings = []
markers = [
"wip: Tests that are work-in-progress.",
Expand Down

0 comments on commit 4c73fb0

Please sign in to comment.