Skip to content

Commit

Permalink
refactor: reorganize imports and update deleted_cells type annotation…
Browse files Browse the repository at this point in the history
… in TableApp
  • Loading branch information
Tlaloc-Es committed Jan 2, 2025
1 parent e5eb647 commit 16da38c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions killpy/__main__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import os
from textual.app import App, ComposeResult
from textual.widgets import DataTable, Header
import time
import shutil
import time
from pathlib import Path

from textual.app import App, ComposeResult
from textual.coordinate import Coordinate
from textual.widgets import DataTable, Header


def get_total_size(path: Path) -> int:
total_size = sum(f.stat().st_size for f in path.rglob("*") if f.is_file())
Expand Down Expand Up @@ -35,8 +36,7 @@ def find_venvs(base_directory: Path):


class TableApp(App):

deleted_cells = []
deleted_cells: Coordinate = []

def compose(self) -> ComposeResult:
yield Header()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ version_files = [
]

[project.scripts]
killpy = "killpy.__main__:main"
killpy = "killpy.__main__:main"

0 comments on commit 16da38c

Please sign in to comment.