Skip to content

Commit 7977489

Browse files
authored
Initial commit
0 parents  commit 7977489

File tree

11 files changed

+975
-0
lines changed

11 files changed

+975
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Scientific improvement
3+
about: Suggest a way to improve an existing tool or pipeline
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
## Describe the improvement that needs to be made
11+
(e.g. update a parameter estimate, tweak the prior, modify the model)
12+
13+
## Provide links to references to methods or data sources
14+
15+
## Describe the changes expected to the model's outputs
16+
17+
## Suggest new tests that will need to be implemented
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: pre-commit
2+
description: run pre-commit
3+
inputs:
4+
extra_args:
5+
description: options to pass to pre-commit run
6+
required: false
7+
default: '--all-files'
8+
runs:
9+
using: composite
10+
steps:
11+
- run: python -m pip install pre-commit
12+
shell: bash
13+
- run: python -m pip freeze --local
14+
shell: bash
15+
- uses: actions/cache@v4
16+
with:
17+
path: |
18+
~/.cache/pre-commit
19+
~/.cache/R/renv
20+
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
21+
- run: pre-commit run --show-diff-on-failure --color=always ${{ inputs.extra_args }}
22+
shell: bash

.github/workflows/pre-commit.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: pre-commit
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
pre-commit:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v5
14+
- uses: ./.github/actions/pre-commit

0 commit comments

Comments
 (0)