Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
- ui
include:
# The earliest actions/setup-python versions depend on the runner.
- ubuntu_version: "22.04"
python_version: "3.9"
- ubuntu_version: "24.04"
python_version: "3.10"
repo_type: venv

steps:
Expand Down
14 changes: 2 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ repos:
rev: v3.20.0
hooks:
- id: pyupgrade
args:
- --py38-plus
# check-tmp is a Python based test script run in created environments
# that can be Python 3.5, older than the Python version required to run
# repo2docker.
Expand All @@ -26,24 +24,16 @@ repos:
rev: 25.9.0
hooks:
- id: black
args:
- --target-version=py39
- --target-version=py310
- --target-version=py311
- --target-version=py312
- --target-version=py313

# Autoformat: Python code
- repo: https://github.com/pycqa/isort
rev: 6.1.0
hooks:
- id: isort
args:
- --profile=black

# Autoformat: markdown
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.6.2
hooks:
- id: prettier
files: ".md"
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ classifiers = [
"Topic :: Software Development",
"Topic :: System :: Systems Administration",
]
requires-python = ">=3.9"
requires-python = ">=3.10"
dependencies = [
"chardet",
"docker!=5.0.0",
Expand Down Expand Up @@ -64,6 +64,8 @@ include-package-data = true
where = [""]
include = ["repo2docker"]


[tool.setuptools_scm]
write_to = "repo2docker/_version.py"

[tool.isort]
profile = "black"