Skip to content

Commit 4946a63

Browse files
committed
python >= 3.10
1 parent 7218514 commit 4946a63

File tree

9 files changed

+4
-10
lines changed

9 files changed

+4
-10
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [windows-latest, macos-latest, ubuntu-latest]
17-
python-version: ['3.9', '3.12']
17+
python-version: ['3.10', '3.13']
1818

1919
steps:
2020
- uses: actions/checkout@v4

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ classifiers = [
1717
"Programming Language :: Python :: 3"
1818
]
1919
dynamic = ["version", "readme"]
20-
requires-python = ">=3.9"
20+
requires-python = ">=3.10"
2121
dependencies = ["pygit2"]
2222

2323
[project.optional-dependencies]

src/gitutils/branch.py

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
https://stackoverflow.com/a/45028375
66
"""
77

8-
from __future__ import annotations
98
import argparse
109
from pathlib import Path
1110
import asyncio

src/gitutils/find.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import annotations
21
from pathlib import Path
32
import typing as T
43
import shutil

src/gitutils/git.py

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Git utilities: focused on speed for very large numbers of Git repos
33
"""
44

5-
from __future__ import annotations
65
from pathlib import Path
76
import subprocess
87
import typing

src/gitutils/git_email.py

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
operations for Git author attributions
33
"""
44

5-
from __future__ import annotations
65
from pathlib import Path
76
import typing as T
87
import collections

src/gitutils/pull.py

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Git fetch / pull functions
33
"""
44

5-
from __future__ import annotations
65
import argparse
76
import asyncio
87
import logging

src/gitutils/status.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
detect Git local repo modifications
33
"""
44

5-
from __future__ import annotations
65
import argparse
76
import typing
87
from pathlib import Path
@@ -32,7 +31,8 @@ def cli():
3231
p.add_argument(
3332
"-method",
3433
help="use Git command line serial execution",
35-
choices=["pygit2", "serial", "async"], default="pygit2",
34+
choices=["pygit2", "serial", "async"],
35+
default="pygit2",
3636
)
3737
P = p.parse_args()
3838

src/gitutils/status_cmd.py

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
DOES NOT WORK git log --branches --not --remotes # check for uncommitted branches
1111
"""
1212

13-
from __future__ import annotations
1413
import subprocess
1514
import logging
1615
from pathlib import Path

0 commit comments

Comments
 (0)