Skip to content
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
Expand Up @@ -13,7 +13,7 @@ repos:
- --line-length=88

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.12.0
rev: 26.1.0
hooks:
- id: black
args:
Expand Down
1 change: 1 addition & 0 deletions src/ansys/tools/installer/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
# SOFTWARE.

"""Configure window."""

import os

from PySide6 import QtCore, QtGui, QtWidgets
Expand Down
5 changes: 2 additions & 3 deletions src/ansys/tools/installer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

"""Main installer window."""


from math import floor
import os
import sys
Expand Down Expand Up @@ -307,9 +306,9 @@ def check_for_updates(self):
LOG.debug("Checking for updates")
try:
if is_linux_os():
(ver, url) = query_gh_latest_release_linux()
ver, url = query_gh_latest_release_linux()
else:
(ver, url) = query_gh_latest_release()
ver, url = query_gh_latest_release()
except (requests.exceptions.SSLError, requests.exceptions.ConnectionError):
LOG.info("Problem requesting version... ")
ver = None
Expand Down
1 change: 1 addition & 0 deletions src/ansys/tools/installer/uninstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
# SOFTWARE.

"""Uninstall application."""

import os
import shutil

Expand Down
7 changes: 3 additions & 4 deletions src/ansys/tools/installer/vscode.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
# SOFTWARE.

"""VS code launch window."""

import os

from PySide6 import QtCore, QtGui, QtWidgets
Expand Down Expand Up @@ -119,11 +120,9 @@ def _open_vscode(self):
self.vscode_warning_text.setText(
f"""{path} does not exist. Provide a valid path."""
)
self.vscode_warning_text.setStyleSheet(
"""
self.vscode_warning_text.setStyleSheet("""
color: rgb(255, 0, 0);
"""
)
""")

def _close_all(self):
"""Close all the pop-up window."""
Expand Down