Skip to content

Commit

Permalink
fixup! Drop support for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
dlax committed Nov 25, 2024
1 parent e540bd8 commit af16e5c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
hooks:
- id: pyupgrade
name: pyupgrade
entry: pyupgrade --py38-plus --exit-zero-even-if-changed
entry: pyupgrade --py39-plus --exit-zero-even-if-changed
language: system
types: [python]
- id: black
Expand Down
2 changes: 1 addition & 1 deletion pgactivity/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def main(
action_formatter = getattr(term, color)
pids = pg_procs.selected
if len(pids) > 1:
ptitle = f"processes {', '.join((str(p) for p in pids))}"
ptitle = f"processes {', '.join(str(p) for p in pids)}"
else:
ptitle = f"process {pids[0]}"
with term.location(x=0, y=term.height // 3):
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ dependencies = [
"attrs >= 17.4, !=21.1",
"blessed >= 1.15.0",
"humanize >= 0.5.1",
"importlib_metadata; python_version < '3.8'",
"psutil >= 2.0.0",
]

Expand Down

0 comments on commit af16e5c

Please sign in to comment.