Skip to content

Commit

Permalink
remove useless file
Browse files Browse the repository at this point in the history
  • Loading branch information
Houston4444 committed Nov 28, 2024
1 parent 037b18f commit 094edab
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ install:
# # install local manual
# cp -r manual $(DEST_PATCHICHI)/

# # install main bash scripts to bin
# # install launcher to bin
install -m 755 data/bin/patchichi $(DESTDIR)$(PREFIX)/bin/

# # Install Translations
Expand Down
6 changes: 3 additions & 3 deletions src/code_editor.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

from enum import Enum
from telnetlib import LINEMODE

from qtpy.QtWidgets import QPlainTextEdit, QWidget, QCompleter, QApplication
from qtpy.QtGui import (
QPaintEvent, QColor, QPainter, QResizeEvent, QFocusEvent,
QKeyEvent,
QTextCursor, QSyntaxHighlighter, QTextCharFormat, QTextDocument)
QKeyEvent, QTextCursor, QSyntaxHighlighter,
QTextCharFormat, QTextDocument)
from qtpy.QtCore import Qt, QRect, QSize, Signal

from chichi_syntax import split_params, PRE_ATTRIBUTES, POST_ATTRIBUTES
Expand Down
2 changes: 1 addition & 1 deletion src/editor_help_dialog.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import logging
from pathlib import Path

from qtpy.QtWidgets import QDialog

from manual_tools import open_in_browser, get_manual_path
Expand Down
4 changes: 4 additions & 0 deletions src/fast_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

# This file is not used by the program
# It is just a file written for some tests,
# It could be removed, it will be soon.

import time
from typing import Callable, Any
import json
Expand Down
2 changes: 2 additions & 0 deletions src/main_win.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from pathlib import Path
from typing import TYPE_CHECKING, Optional

from qtpy.QtWidgets import (
QMainWindow, QShortcut, QMenu, QApplication, QToolButton, QFileDialog,
QBoxLayout, QVBoxLayout, QFrame, QSpacerItem, QSizePolicy, QWidget)
Expand Down Expand Up @@ -32,6 +33,7 @@
if TYPE_CHECKING:
from patchichi import Main


_translate = QApplication.translate


Expand Down
6 changes: 3 additions & 3 deletions src/patchichi_pb_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
JACK_METADATA_PRETTY_NAME,
JACK_METADATA_SIGNAL_TYPE)
from patchbay.tools_widgets import JackAgnostic

from chichi_syntax import split_params
from tools import get_code_root
import xdg

if TYPE_CHECKING:
Expand Down Expand Up @@ -153,8 +153,8 @@ def __init__(self, settings: Union[QSettings, None] =None):
def _setup_canvas(self):
SUBMODULE = 'HoustonPatchbay'
THEME_PATH = Path(SUBMODULE) / 'themes'
source_theme_path = Path(get_code_root()) / THEME_PATH
manual_path = Path(get_code_root()) / SUBMODULE / 'manual'
source_theme_path = Path(__file__).parents[1] / THEME_PATH
manual_path = Path(__file__).parents[1] / SUBMODULE / 'manual'
theme_paths = list[Path]()

app_title = QApplication.applicationName().lower()
Expand Down
5 changes: 0 additions & 5 deletions src/tools.py

This file was deleted.

0 comments on commit 094edab

Please sign in to comment.