Skip to content

Commit 648d029

Browse files
authored
Merge pull request #190 from basf/develop
SAINT, preprocessing, formatting, bug fixes etc.
2 parents af1ea08 + 4ae6afa commit 648d029

File tree

130 files changed

+5519
-5778
lines changed

Some content is hidden

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

130 files changed

+5519
-5778
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ If applicable, add screenshots to help explain your problem.
2525
- Mambular Version [e.g. 0.1.2]
2626

2727
**Additional context**
28-
Add any other context about the problem here.
28+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
blank_issues_enabled: false
1+
blank_issues_enabled: false

.github/ISSUE_TEMPLATE/doc_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ assignees: ''
88
---
99

1010
**Description of the question**
11-
A clear and concise description of what should be documented.
11+
A clear and concise description of what should be documented.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ A clear and concise description of what you want to happen.
1717
A clear and concise description of any alternative solutions or features you've considered.
1818

1919
**Additional context**
20-
Add any other context or screenshots about the feature request here.
20+
Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ Gives some context if needed (environment, system, hardware).
1414
A clear and concise description of what the task is.
1515

1616
**Describe the solution you'd like**
17-
A clear and concise description of what you want to happen.
17+
A clear and concise description of what you want to happen.

.github/workflows/build-publish-pypi.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- release
77

88
jobs:
9-
publish:
9+
build-publish:
1010
runs-on: ubuntu-latest
1111

1212
steps:
@@ -18,15 +18,19 @@ jobs:
1818
with:
1919
python-version: "3.8"
2020

21-
- name: Install dependencies
21+
- name: Install Poetry
2222
run: |
23-
python -m pip install --upgrade pip
24-
pip install setuptools wheel twine
23+
curl -sSL https://install.python-poetry.org | python3 -
24+
export PATH="$HOME/.local/bin:$PATH"
25+
26+
- name: Install dependencies
27+
run: poetry install
2528

26-
- name: Build and publish package
29+
- name: Build package
30+
run: poetry build
31+
32+
- name: Publish to PyPI
2733
env:
2834
TWINE_USERNAME: __token__
2935
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
30-
run: |
31-
python setup.py sdist bdist_wheel
32-
twine upload dist/*
36+
run: poetry publish --username $TWINE_USERNAME --password $TWINE_PASSWORD

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,5 @@ examples/lightning_logs
172172
docs/_build/doctrees/*
173173
docs/_build/html/*
174174

175+
175176
dev/*

.pre-commit-config.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
exclude: "^$"
2+
fail_fast: false
3+
default_stages: [commit, push]
4+
repos:
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: v4.5.0
7+
hooks:
8+
- id: check-case-conflict
9+
- id: check-merge-conflict
10+
- id: end-of-file-fixer
11+
- id: mixed-line-ending
12+
- id: trailing-whitespace
13+
args: [--markdown-linebreak-ext=md]
14+
15+
- repo: https://github.com/charliermarsh/ruff-pre-commit
16+
rev: v0.1.14
17+
hooks:
18+
- id: ruff-format
19+
types_or: [python, pyi, jupyter]
20+
- id: ruff
21+
types_or: [python, pyi, jupyter]
22+
args: [ --fix, --exit-non-zero-on-fix ]
23+
24+
- repo: https://github.com/pre-commit/mirrors-prettier
25+
rev: v4.0.0-alpha.8
26+
hooks:
27+
- id: prettier
28+
types:
29+
- yaml
30+
- markdown
31+
- json

.vscode/settings.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"editor.formatOnSave": true,
3+
"editor.codeActionsOnSave": {
4+
"source.organizeImports": "explicit",
5+
"source.fixAll": "explicit"
6+
},
7+
"[python]": {
8+
"editor.defaultFormatter": "charliermarsh.ruff"
9+
},
10+
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
12
# Code of Conduct
23

3-
- **Purpose**: The purpose of this Code of Conduct is to establish a welcoming and inclusive community around the `Mambular` project. We want to foster an environment where everyone feels respected, valued, and able to contribute to the project.
4+
- **Purpose**: The purpose of this Code of Conduct is to establish a welcoming and inclusive community around the `STREAM` project. We want to foster an environment where everyone feels respected, valued, and able to contribute to the project.
45

56
- **Openness and Respect**: We strive to create an open and respectful community where everyone can freely express their opinions and ideas. We encourage constructive discussions and debates, but we will not tolerate any form of harassment, discrimination, or disrespectful behavior.
67

0 commit comments

Comments
 (0)