Skip to content

Commit 9fac771

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0210c89 commit 9fac771

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

pytest_postgresql/executor.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -187,16 +187,16 @@ def start(self: T) -> T:
187187
# Run pg_ctl synchronously as an argv list (no shell) so quoting
188188
# is handled safely by subprocess, mirroring the stop() approach.
189189
postgres_options_str = f" {self.postgres_options}" if self.postgres_options else ""
190-
pg_options = (
191-
f"-F -p {self.port} -c log_destination=stderr "
192-
f"-c logging_collector=off{postgres_options_str}"
193-
)
190+
pg_options = f"-F -p {self.port} -c log_destination=stderr -c logging_collector=off{postgres_options_str}"
194191
args = [
195192
self.executable,
196193
"start",
197-
"-D", self.datadir,
198-
"-o", pg_options,
199-
"-l", self.logfile,
194+
"-D",
195+
self.datadir,
196+
"-o",
197+
pg_options,
198+
"-l",
199+
self.logfile,
200200
*shlex.split(self.startparams),
201201
]
202202
result = subprocess.run(args, check=False, env=self.envvars)

0 commit comments

Comments
 (0)