mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-27 10:00:38 +00:00
Merge remote-tracking branch 'origin/main' into problame/benchmarking/pr/python-perftest
This commit is contained in:
@@ -63,7 +63,7 @@ def subprocess_capture(capture_dir: str, cmd: List[str], **kwargs: Any) -> str:
|
||||
If those files already exist, we will overwrite them.
|
||||
Returns basepath for files with captured output.
|
||||
"""
|
||||
assert type(cmd) is list
|
||||
assert isinstance(cmd, list)
|
||||
base = os.path.basename(cmd[0]) + "_{}".format(global_counter())
|
||||
basepath = os.path.join(capture_dir, base)
|
||||
stdout_filename = basepath + ".stdout"
|
||||
|
||||
@@ -6,5 +6,5 @@ set -euox pipefail
|
||||
echo 'Reformatting Rust code'
|
||||
cargo fmt
|
||||
echo 'Reformatting Python code'
|
||||
poetry run ruff --fix test_runner scripts
|
||||
poetry run black test_runner scripts
|
||||
poetry run ruff check --fix test_runner scripts
|
||||
poetry run ruff format test_runner scripts
|
||||
|
||||
Reference in New Issue
Block a user