Skip to content

Commit af16e5c

Browse files
committed
fixup! Drop support for Python 3.8
1 parent e540bd8 commit af16e5c

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
hooks:
1515
- id: pyupgrade
1616
name: pyupgrade
17-
entry: pyupgrade --py38-plus --exit-zero-even-if-changed
17+
entry: pyupgrade --py39-plus --exit-zero-even-if-changed
1818
language: system
1919
types: [python]
2020
- id: black

pgactivity/ui.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def main(
120120
action_formatter = getattr(term, color)
121121
pids = pg_procs.selected
122122
if len(pids) > 1:
123-
ptitle = f"processes {', '.join((str(p) for p in pids))}"
123+
ptitle = f"processes {', '.join(str(p) for p in pids)}"
124124
else:
125125
ptitle = f"process {pids[0]}"
126126
with term.location(x=0, y=term.height // 3):

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ dependencies = [
3939
"attrs >= 17.4, !=21.1",
4040
"blessed >= 1.15.0",
4141
"humanize >= 0.5.1",
42-
"importlib_metadata; python_version < '3.8'",
4342
"psutil >= 2.0.0",
4443
]
4544

0 commit comments

Comments
 (0)