Skip to content

Commit 8ec8496

Browse files
committed
style: Run pre-commit
1 parent 13e7a61 commit 8ec8496

File tree

7 files changed

+9
-26
lines changed

7 files changed

+9
-26
lines changed

.github/workflows/AWSMegatests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ on:
44
branches:
55
- master
66
paths:
7-
- 'pulumi/test_datasets/**/*'
7+
- "pulumi/test_datasets/**/*"
88
pull_request:
99
branches:
1010
- master
1111
paths:
12-
- 'pulumi/test_datasets/**/*'
12+
- "pulumi/test_datasets/**/*"
1313

1414
# These are the environment variables that jobs in the workflow have access to.
1515
# By defining them here, all jobs/steps will have access to these variables.
@@ -29,7 +29,6 @@ jobs:
2929
name: Pulumi
3030
runs-on: ubuntu-latest
3131
steps:
32-
3332
# Turnstyle is used to prevent multiple push jobs from running at the same time. We
3433
# limit it to push jobs to allow PR jobs to run concurrently.
3534
- name: Turnstyle
@@ -64,7 +63,6 @@ jobs:
6463
stack-name: ${{ env.PULUMI_STACK_NAME }}
6564
work-dir: ${{ env.PULUMI_WORKING_DIRECTORY }}
6665

67-
6866
# If you'd like to run your Pulumi application outside of the official GitHub Action
6967

7068
#- name: Install Pulumi CLI

.github/workflows/repos.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: Install Python
4444
uses: actions/setup-python@v5
45-
cache: 'pip'
45+
cache: "pip"
4646

4747
- run: pip install -r requirements.txt
4848
working-directory: ${{ env.PULUMI_WORKING_DIRECTORY }}
@@ -61,4 +61,3 @@ jobs:
6161
command: up
6262
stack-name: ${{ env.PULUMI_STACK_NAME }}
6363
work-dir: ${{ env.PULUMI_WORKING_DIRECTORY }}
64-

docs/1password.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ op plugin init pulumi
1515
```
1616

1717
This should result in:
18+
1819
```
1920
2021
Pulumi CLI

pulumi/github/repos/__main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
#!/usr/bin/env python
22

3-
import pipelines.testpipeline

pulumi/github/repos/core/modules.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import yaml
2-
31
import pulumi
42
import pulumi_github as github
53

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
#!/usr/bin/env python
22

3-
import pulumi
4-
import pulumi_github as github
5-
6-
import pipelines.denovotranscript
7-
import pipelines.meerpipe
8-
import pipelines.pairgenomealign
9-
import pipelines.phaseimpute
10-
import pipelines.reportho
113

124
# ...
135

14-
import core.github
15-
import core.modules
166

177
# ...
18-
import core.website

pulumi/github/repos/pipelines/testpipeline.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,23 @@
77

88
# Configure 1Password provider with account details
99
onepassword_provider = onepassword.Provider(
10-
"onepassword-provider",
11-
account="nf-core.1password.eu"
10+
"onepassword-provider", account="nf-core.1password.eu"
1211
)
1312

1413
# Fetch GitHub token from 1Password
1514
# Item ID from the 1Password URL: 4ajrv44kc5lcbboa37fr5oydla
1615
# Vault ID from the 1Password URL: rdfcz6oy6qxxrc4clu467a7dmm
1716
github_token_item = onepassword.get_item(
1817
vault="rdfcz6oy6qxxrc4clu467a7dmm", # Vault ID from the 1Password URL
19-
uuid="4ajrv44kc5lcbboa37fr5oydla", # Item ID from the 1Password URL
20-
opts=pulumi.InvokeOptions(provider=onepassword_provider)
18+
uuid="4ajrv44kc5lcbboa37fr5oydla", # Item ID from the 1Password URL
19+
opts=pulumi.InvokeOptions(provider=onepassword_provider),
2120
)
2221

2322
# Configure GitHub provider with token from 1Password
2423
github_provider = github.Provider(
2524
"github-provider",
2625
token=github_token_item.password, # The token is stored in the password field
27-
owner="nf-core-tf"
26+
owner="nf-core-tf",
2827
)
2928

3029
NAME = "testpipeline"
@@ -81,7 +80,7 @@
8180
visibility="public",
8281
topics=TOPICS, # 'repo_keywords' => 'Minimum keywords set',
8382
# NOTE: @mirpedrol asked if we could add missing topics without deleting existing ones
84-
opts=pulumi.ResourceOptions(provider=github_provider)
83+
opts=pulumi.ResourceOptions(provider=github_provider),
8584
)
8685

8786

0 commit comments

Comments
 (0)