Skip to content

Commit 4ea4ba6

Browse files
committed
Update stable version
Update stable version
1 parent daf0a7f commit 4ea4ba6

File tree

22 files changed

+28
-32
lines changed

22 files changed

+28
-32
lines changed

dev.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ content-type = "text/markdown"
3737

3838

3939
[tool.setuptools.packages]
40-
find = { namespaces = false }
40+
find = { namespaces = false }

exe/start_editor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
from je_editor.start_editor import start_editor
1+
from je_editor import start_editor
22

33
start_editor()

je_editor/code_scan/watchdog_thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def run(self):
2626

2727

2828
if __name__ == '__main__':
29-
watchdog_thread = WatchdogThread(".")
29+
watchdog_thread = WatchdogThread("")
3030
watchdog_thread.start()
3131
while True:
3232
time.sleep(1)

je_editor/git_client/__init__.py

Whitespace-only changes.

je_editor/git_feature/commit_graph.py renamed to je_editor/git_client/commit_graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class CommitGraph:
2020
index: Dict[str, int] = field(default_factory=dict) # sha -> row
2121

2222
def build(self, commits: List[Dict], refs: Dict[str, str]) -> None:
23-
# commits are topo-ordered by git_feature log --topo-order; we keep it.
23+
# commits are topo-ordered by git_client log --topo-order; we keep it.
2424
self.nodes = [
2525
CommitNode(
2626
commit_sha=c["sha"],
@@ -35,7 +35,7 @@ def build(self, commits: List[Dict], refs: Dict[str, str]) -> None:
3535

3636
def _assign_lanes(self) -> None:
3737
"""
38-
Simple lane assignment similar to 'git_feature log --graph' lanes.
38+
Simple lane assignment similar to 'git_client log --graph' lanes.
3939
Greedy: reuse freed lanes; parents may create new lanes.
4040
"""
4141
active: Dict[int, str] = {} # lane -> sha

je_editor/git_feature/git.py renamed to je_editor/git_client/git.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ def stage_all(self):
104104
self._ensure_repo()
105105
try:
106106
self.repo.git.add(all=True)
107-
audit_log(self.repo_path, "stage_all", "git_feature add -A", True)
107+
audit_log(self.repo_path, "stage_all", "git_client add -A", True)
108108
except GitCommandError as e:
109-
audit_log(self.repo_path, "stage_all", "git_feature add -A", False, str(e))
109+
audit_log(self.repo_path, "stage_all", "git_client add -A", False, str(e))
110110
raise
111111

112112
def commit(self, message: str):

je_editor/git_feature/git_cli.py renamed to je_editor/git_client/git_cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ def __init__(self, repo_path: Path):
1111
self.repo_path = Path(repo_path)
1212

1313
def is_git_repo(self) -> bool:
14-
return (self.repo_path / ".git_feature").exists()
14+
return (self.repo_path / ".git_client").exists()
1515

1616
def _run(self, args: List[str]) -> str:
17-
log.debug("git_feature %s", " ".join(args))
17+
log.debug("git_client %s", " ".join(args))
1818
res = subprocess.run(
19-
["git_feature"] + args,
19+
["git_client"] + args,
2020
cwd=self.repo_path,
2121
stdout=subprocess.PIPE,
2222
stderr=subprocess.PIPE,
File renamed without changes.

je_editor/pyside_ui/browser/browser_view.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
import pathlib
21
from typing import List
32

4-
from PySide6.QtCore import Qt
5-
from PySide6.QtNetwork import QNetworkCookie
63
from PySide6.QtWebEngineCore import QWebEngineDownloadRequest
74
from PySide6.QtWebEngineWidgets import QWebEngineView
85

je_editor/pyside_ui/git_ui/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)