Skip to content

Commit

Permalink
Apply PPT v2.0 (#253)
Browse files Browse the repository at this point in the history
* Apply PPT v2.0

* Move jupyter requirement.
  • Loading branch information
delucchi-cmu committed Mar 8, 2024
1 parent 9d0bfc4 commit ee42e34
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.yml
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: v1.5.3
_commit: v2.0.0
_src_path: gh:lincc-frameworks/python-project-template
author_email: lincc-frameworks-team@lists.lsst.org
author_name: LINCC Frameworks
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/2-feature_request.md
Expand Up @@ -7,12 +7,12 @@ assignees: ''

---

** Feature request**
**Feature request**


**Before submitting**
Please check the following:

- [ ] I have described the purpose of the suggested change, specifying what I need the enhancement to accomplish, i.e. what problem it solves.
- [ ] I have included any relevant links, screenshots, environment information, and data relevant to implementing the requested feature, as well as pseudocode for how I want to access the new functionality.
- [ ] If I have ideas for how the new feature could be implemented, I have provided explanations and/or pseudocode and/or task lists for the steps.
- [ ] If I have ideas for how the new feature could be implemented, I have provided explanations and/or pseudocode and/or task lists for the steps.
4 changes: 2 additions & 2 deletions .github/workflows/smoke-test.yml
Expand Up @@ -41,7 +41,7 @@ jobs:
run: |
python -m pytest tests --use_ray
- name: Send status to Slack app
if: ${{ failure() && github.event_name != 'workflow_dispatch' }} # Only post if the workflow failed and was not manually started. Customize this as necessary.
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
id: slack
uses: slackapi/slack-github-action@v1
with:
Expand Down Expand Up @@ -76,5 +76,5 @@ jobs:
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # Here is where the webhook URL is provided
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
1 change: 1 addition & 0 deletions .setup_dev.sh
Expand Up @@ -32,6 +32,7 @@ python -m pip install -e . > /dev/null

echo "Installing developer dependencies in local environment"
python -m pip install -e .'[dev]' > /dev/null
if [ -f docs/requirements.txt ]; then python -m pip install -r docs/requirements.txt; fi

echo "Installing pre-commit"
pre-commit install > /dev/null
Expand Down
14 changes: 8 additions & 6 deletions docs/requirements.txt
@@ -1,8 +1,10 @@
sphinx
sphinx-rtd-theme
sphinx-autoapi
nbsphinx

ipykernel
ipython
jupytext
jupyter
sphinx-copybutton
nbconvert
nbsphinx
sphinx
sphinx-autoapi
sphinx-copybutton
sphinx-rtd-theme
11 changes: 1 addition & 10 deletions pyproject.toml
Expand Up @@ -33,23 +33,14 @@ dependencies = [
[project.optional-dependencies]
dev = [
"black",
"jupyter", # Clear notebook output
"mypy", # Used for static type checking of files
"pre-commit", # Used to run checks before finalizing a git commit
"pylint", # Used for static linting of files
"pytest",
"pytest-cov",
"pytest-timeout",
"sphinx", # Used to automatically generate documentation
"sphinx-rtd-theme", # Used to render documentation
"sphinx-autoapi", # Used to automatically generate api documentation
"mypy", # Used for static type checking of files
# if you add dependencies here while experimenting in a notebook and you
# want that notebook to render in your documentation, please add the
# dependencies to ./docs/requirements.txt as well.
"nbconvert", # Needed for pre-commit check to clear output from Python notebooks
"nbsphinx", # Used to integrate Python notebooks into Sphinx documentation
"ipykernel", # Also used in building notebooks into Sphinx
"ipython", # Also used in building notebooks into Sphinx
"ray", # Used for dask-on-ray testing.
"types-PyYAML", # type stubs for pyyaml
]
Expand Down

0 comments on commit ee42e34

Please sign in to comment.