Skip to content

Commit 248a260

Browse files
authored
Merge branch 'main' into aviti
2 parents 1369ad4 + be69987 commit 248a260

File tree

5 files changed

+61
-5
lines changed

5 files changed

+61
-5
lines changed

.github/pull_request_template.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## Pull Request Names
2+
Follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)
3+
4+
Briefly:
5+
Make sure the PR has a title that adheres to the following scheme:
6+
7+
- fix: description of bugfix.
8+
- feat: description of new feature.
9+
- build: description of changes to the build system or external dependencies.
10+
- chore: description of changes that do not modify src or test files.
11+
- ci: description of changes to CI configuration files and scripts.
12+
- docs: description of changes to documentation.
13+
- style: description of changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc).
14+
- refactor: description of code changes that neither fixes a bug nor adds a feature.
15+
- perf: description of changes that improve performance.
16+
- test: description of changes to tests.
17+
18+
If functionality is broken, append a `!` to the type, e.g. `fix!:` or `feat!:`, to indicate a breaking change.
19+
20+
## Description of Changes
21+
22+
<!-- Describe what you changed and why -->
23+
24+
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
permissions:
7+
contents: write
8+
pull-requests: write
9+
10+
name: release-please
11+
12+
jobs:
13+
release-please:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: googleapis/release-please-action@v4
17+
with:
18+
token: ${{ secrets.RELEASE_PLEASE }}
19+
release-type: python

BRB/email.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
def errorEmail(config, errTuple, msg) :
1010
msg = MIMEText(msg + "\nError type: %s\nError value: %s\n%s\n" % (errTuple[0], errTuple[1], errTuple[2]))
11-
msg['Subject'] = f"[BigRedButton {version("BRB")}] Error"
11+
msg['Subject'] = f'[BigRedButton {version("BRB")}] Error'
1212
msg['From'] = config.get("Email","fromAddress")
1313
msg['To'] = config.get("Email","errorTo")
1414

@@ -19,7 +19,7 @@ def errorEmail(config, errTuple, msg) :
1919

2020
def finishedEmail(config, msg):
2121
mailer = MIMEMultipart('alternative')
22-
mailer['Subject'] = f"[BigRedButton {version("BRB")}] {config.get("Options","runID")} processed"
22+
mailer['Subject'] = f'[BigRedButton {version("BRB")}] {config.get("Options","runID")} processed'
2323
mailer['From'] = config.get("Email","fromAddress")
2424

2525
# Create the table head
@@ -33,7 +33,7 @@ def finishedEmail(config, msg):
3333
if [i[4] for i in msg].count('FAILED') == 0:
3434
recipient = config.get("Email","deepSeq")
3535
_html.add(div(
36-
f"Post-processing is ready, Samba drive is updated for {[i[6] for i in msg].count(True)} project(s).",
36+
f'Post-processing is ready, Samba drive is updated for {[i[6] for i in msg].count(True)} project(s).',
3737
br()
3838
))
3939

@@ -54,4 +54,4 @@ def finishedEmail(config, msg):
5454
recipient.split(','),
5555
mailer.as_string()
5656
)
57-
s.quit()
57+
s.quit()

BRB/findFinishedFlowCells.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def newFlowCell(config):
5252
continue
5353

5454
if not flowCellProcessed(config):
55-
print(f"Found new flow cell: [green]{config.get("Options","runID")}[/green]")
55+
print(f'Found new flow cell: [green]{config.get("Options","runID")}[/green]')
5656
# Query parkour to see if there's anything to be done for this
5757
ParkourDict = queryParkour(config)
5858
if len(ParkourDict) == 0:

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Changelog
2+
3+
## [0.1.0](https://github.com/maxplanck-ie/BigRedButton/compare/v0.0.15...v0.1.0) (2025-10-06)
4+
5+
6+
### Features
7+
8+
* release please ([#112](https://github.com/maxplanck-ie/BigRedButton/issues/112)) ([21887fe](https://github.com/maxplanck-ie/BigRedButton/commit/21887fed96807f63c41748ded2ffc16ff4b14dd4))
9+
10+
11+
### Bug Fixes
12+
13+
* drop reuse of quote character in f-strings for overall python compatibility ([21887fe](https://github.com/maxplanck-ie/BigRedButton/commit/21887fed96807f63c41748ded2ffc16ff4b14dd4))

0 commit comments

Comments
 (0)