Skip to content

Commit

Permalink
refactor: change filenames to follow PEP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
leafspark committed Aug 16, 2024
1 parent 516aec0 commit d2c83ef
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/AutoGGUF.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
show_about,
ensure_directory,
)
from src.localizations import *
from src.Localizations import *
import src.ui_update
import src.lora_conversion
import src.utils
Expand Down
2 changes: 1 addition & 1 deletion src/GPUMonitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
QComboBox,
)

from src.localizations import (
from src.Localizations import (
GPU_USAGE_FORMAT,
GPU_DETAILS,
GPU_USAGE_OVER_TIME,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/QuantizationThread.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from PySide6.QtCore import *

from imports_and_globals import open_file_safe
from localizations import *
from Localizations import *


class QuantizationThread(QThread):
Expand Down
3 changes: 0 additions & 3 deletions src/convert_hf_to_gguf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from __future__ import annotations

import logging
Expand Down
1 change: 0 additions & 1 deletion src/convert_lora_to_ggml.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
from __future__ import annotations

import logging
Expand Down
3 changes: 0 additions & 3 deletions src/convert_lora_to_gguf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from __future__ import annotations

from dataclasses import dataclass
Expand Down
2 changes: 1 addition & 1 deletion src/error_handling.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from PySide6.QtWidgets import QMessageBox
from src.localizations import *
from src.Localizations import *


def show_error(logger, message):
Expand Down
2 changes: 1 addition & 1 deletion src/imports_and_globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
from PySide6.QtCore import QTimer, Signal, QThread, Qt, QSize
from PySide6.QtGui import QCloseEvent, QAction

from src.localizations import *
from src.Localizations import *


def show_about(self):
Expand Down
2 changes: 1 addition & 1 deletion src/lora_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from src.TaskListItem import TaskListItem
from src.error_handling import handle_error, show_error
from src.imports_and_globals import ensure_directory
from src.localizations import *
from src.Localizations import *


def convert_lora(self):
Expand Down
2 changes: 1 addition & 1 deletion src/ui_update.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from src.localizations import *
from src.Localizations import *
import psutil


Expand Down
2 changes: 1 addition & 1 deletion src/utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from PySide6.QtWidgets import QFileDialog

from error_handling import show_error
from localizations import *
from Localizations import *
import requests

from src.DownloadThread import DownloadThread
Expand Down

0 comments on commit d2c83ef

Please sign in to comment.