Skip to content

Commit ad71748

Browse files
committed
Fix publish github wokflow spec. Linter changes
1 parent adadf89 commit ad71748

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/publish.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ jobs:
77
runs-on: ubuntu-latest
88
# We only execute this step if the commit is tagged, i.e., this is a release
99
#if: startsWith(github.ref, 'refs/tags')
10+
# Use the following for PyPI deployments
11+
# environment:
12+
# name: pypi
13+
# url: https://pypi.org/p/simulaqron
14+
# Use the following for TestPyPI deployments
15+
environment:
16+
name: testpypi
17+
url: https://test.pypi.org/p/simulaqron
18+
permissions:
19+
id-token: write
1020
steps:
1121
- name: Checkout code
1222
uses: actions/checkout@master

simulaqron/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,8 @@ def start(network_name: str, nodes: str, simulaqron_config_file: Path, network_c
235235
raise click.BadOptionUsage(
236236
option_name="nodes",
237237
message=f"The node '{node_to_start}' was not found in the network named " # noqa: E713
238-
f"'{network_name} 'specified in the configuration file '{network_config_file}'.\n" # noqa: E131
238+
f"'{network_name} 'specified in the configuration file " # noqa: E131
239+
f"'{network_config_file}'.\n" # noqa: E131
239240
"Please check the list of names you passed in the --nodes option " # noqa: E131
240241
"and try again." # noqa: E131
241242
)

0 commit comments

Comments
 (0)