Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #319

Merged
merged 2 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
exclude: ^(.gitignore|generate_sbom.py|extract_file_info.py|pe_info.py)
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.9.1
hooks:
# Run the linter
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion docs/windows_installer_tutorial/setupstepper.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def launch_installer() -> Application:

# Start application with proper arguments
msiprefix = "msiexec /i " if (arguments["-type"] == "msi") else ""
app = app.start(f"{msiprefix}\"{arguments['-path']}\"")
app = app.start(f'{msiprefix}"{arguments["-path"]}"')

# Wait for the application to start
sleep(1.5 if (arguments["-type"] == "msi") else 0.75)
Expand Down
4 changes: 2 additions & 2 deletions surfactant/cmd/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def generate():
config_file.flush()

output_file_name = (
f'{datetime.datetime.now().strftime("%Y_%m_%d_%H_%M_%S_%f")}_generate.json'
f"{datetime.datetime.now().strftime('%Y_%m_%d_%H_%M_%S_%f')}_generate.json"
)

with open(f"results/{output_file_name}", "w") as _:
Expand Down Expand Up @@ -86,7 +86,7 @@ def merge():
# pylint: disable=broad-exception-caught, no-value-for-parameter
try:
req = flask.request.get_json()
output_file_name = f'{datetime.datetime.now().strftime("%Y_%m_%d_%H_%M_%S_%f")}_merge.json'
output_file_name = f"{datetime.datetime.now().strftime('%Y_%m_%d_%H_%M_%S_%f')}_merge.json"

with open(f"results/{output_file_name}", "w") as _:
args = req["inputs"]
Expand Down
Loading