Skip to content

Commit

Permalink
Update to PPT v1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
camposandro committed Feb 16, 2024
1 parent 5e29e36 commit 0bacd89
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: v1.5.1-11-g34358f1
_commit: v1.5.3
_src_path: gh:lincc-frameworks/python-project-template
author_email: [email protected]
author_name: Sandro Campos
Expand Down
3 changes: 0 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ repos:
name: Validate pyproject.toml
description: Verify that pyproject.toml adheres to the established schema.


# Automatically sort the imports used in .py files
- repo: https://github.com/pycqa/isort
rev: 5.12.0
Expand All @@ -52,8 +51,6 @@ repos:
description: Sort and organize imports in .py and .pyi files.
types_or: [python, pyi]



# Analyze the src code style and report code that doesn't adhere.
- repo: local
hooks:
Expand Down
10 changes: 10 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@
extensions.append("autoapi.extension")
extensions.append("nbsphinx")

# -- sphinx-copybutton configuration ----------------------------------------
extensions.append("sphinx_copybutton")
## sets up the expected prompt text from console blocks, and excludes it from
## the text that goes into the clipboard.
copybutton_exclude = ".linenos, .gp"
copybutton_prompt_text = ">> "

## lets us suppress the copy button on select code blocks.
copybutton_selector = "div:not(.no-copybutton) > div.highlight > pre"

templates_path = []
exclude_patterns = ["_build", "**.ipynb_checkpoints"]

Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ virtual environment. LINCC-Frameworks engineers primarily use `conda` to manage
environments. If you have conda installed locally, you can run the following to
create and activate a new environment.

.. code-block:: bash
.. code-block:: console
>> conda create env -n <env_name> python=3.10
>> conda activate <env_name>
Expand All @@ -22,7 +22,7 @@ create and activate a new environment.
Once you have created a new environment, you can install this project for local
development using the following commands:

.. code-block:: bash
.. code-block:: console
>> pip install -e .'[dev]'
>> pre-commit install
Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
sphinx
sphinx-rtd-theme
sphinx-autoapi
sphinx-copybutton
nbsphinx
ipython
jupytext
Expand Down

0 comments on commit 0bacd89

Please sign in to comment.