Skip to content

Commit

Permalink
Add github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius1311 committed Apr 24, 2024
1 parent aecc276 commit 3c20337
Show file tree
Hide file tree
Showing 7 changed files with 106 additions and 3 deletions.
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Bug report
about: Create a report to help us improve
title: ""
labels: bug
assignees: ""
---

<!-- Describe the bug -->

## Description

[TEXT HERE]

<!-- To reproduce -->

```python
# Your code here
```

<!-- Put your Error output in this code block (if applicable, else delete the block): -->

<details> <summary> Error output </summary>

```pytb
# Paste the error output here, if applicable
```

</details>

## Versions

<details> <summary> Versions </summary>

```pytb
# Paste the ouput of tradeseq.__version__ and all relevant versions here
```

</details>
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this project
title: ""
labels: enhancement
assignees: ""
---

## Description

**Is your feature request related to a problem? Please describe.**

<!-- A clear and concise description of what the problem is. For example: I need to do [...] which is not possible because [...]. -->

**Describe the solution you are looking for.**

<!-- A clear and concise description of what you want to happen. -->
23 changes: 23 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## Changes

<!-- Please remove section if this PR does change an existing feature -->

- ...

## Bug fixes

<!-- Please give section if this PR does not fix any bugs -->

- ...

## New

<!-- Please give section if this PR does not implement a new feature -->

- ...

## Related issues

<!-- Please list related issues. If none exist, open one and reference it here. -->

Closes #
23 changes: 23 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Lint

on:
push:
branches: main
pull_request:
branches: main

jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit
- name: Check pre-commit compatibility
run: pre-commit run --all-files --show-diff-on-failure
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Analysis template repository
This contains the raw structure I usually use when doing single-cell/spatial data analysis.

This contains the raw structure I usually use when doing single-cell/spatial data analysis.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"source": [
"# import standard packages\n",
"import numpy as np\n",
"import pandas as pd \n",
"import pandas as pd\n",
"\n",
"import matplotlib.pyplot as plt\n",
"import seaborn as sns\n",
Expand Down

0 comments on commit 3c20337

Please sign in to comment.