Skip to content

Commit 6e77abe

Browse files
authored
Merge pull request #337 from neurobionics/main
Update fix branch with latest main.
2 parents 9ffde77 + a4c07de commit 6e77abe

File tree

146 files changed

+11410
-6674
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+11410
-6674
lines changed

.DS_Store

10 KB
Binary file not shown.

.editorconfig

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
1-
# Check http://editorconfig.org for more information
2-
# This is the main config file for this project:
3-
root = true
1+
max_line_length = 120
42

5-
[*]
6-
charset = utf-8
7-
end_of_line = lf
8-
insert_final_newline = true
9-
indent_style = tab
10-
trim_trailing_whitespace = true
11-
12-
[*.{py, pyi}]
13-
indent_style = tab
14-
15-
[Makefile]
16-
indent_style = tab
17-
18-
[*.md]
19-
trim_trailing_whitespace = false
20-
21-
[*.{diff,patch}]
22-
trim_trailing_whitespace = false
3+
[*.json]
4+
indent_style = space
5+
indent_size = 4

.github/.stale.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: "setup-poetry-env"
2+
description: "Composite action to setup the Python and poetry environment."
3+
4+
inputs:
5+
python-version:
6+
required: false
7+
description: "The python version to use"
8+
default: "3.11"
9+
10+
runs:
11+
using: "composite"
12+
steps:
13+
- name: Set up python
14+
uses: actions/setup-python@v5
15+
with:
16+
python-version: ${{ inputs.python-version }}
17+
18+
- name: Install Poetry
19+
env:
20+
POETRY_VERSION: "1.7.1"
21+
run: curl -sSL https://install.python-poetry.org | python - -y
22+
shell: bash
23+
24+
- name: Add Poetry to Path
25+
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
26+
shell: bash
27+
28+
- name: Configure Poetry virtual environment in project
29+
run: poetry config virtualenvs.in-project true
30+
shell: bash
31+
32+
- name: Load cached venv
33+
id: cached-poetry-dependencies
34+
uses: actions/cache@v4
35+
with:
36+
path: .venv
37+
key: venv-${{ runner.os }}-${{ inputs.python-version }}-${{ hashFiles('poetry.lock') }}
38+
39+
- name: Install dependencies
40+
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
41+
run: poetry install --no-interaction
42+
shell: bash

.github/dependabot.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)