Просмотр исходного кода

Version bump + add ruff pre-commit hook

pull/74/head
Ben Kurtovic 1 год назад
Родитель
Сommit
57d8ccbc49
4 измененных файлов: 19 добавлений и 5 удалений
  1. +7
    -0
      .pre-commit-config.yaml
  2. +1
    -1
      README.md
  3. +10
    -3
      pyproject.toml
  4. +1
    -1
      src/gitup/__init__.py

+ 7
- 0
.pre-commit-config.yaml Просмотреть файл

@@ -0,0 +1,7 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.13
hooks:
- id: ruff-check
args: [--fix]
- id: ruff-format

+ 1
- 1
README.md Просмотреть файл

@@ -8,7 +8,7 @@ branches, detached HEADs, and more. It was originally created to manage a large
collection of projects and deal with sporadic internet access.

gitup works on macOS, Linux, and Windows. You should have a recent version of
git and Python 3.8+ installed.
git and Python 3.9+ installed.

# Installation



+ 10
- 3
pyproject.toml Просмотреть файл

@@ -1,6 +1,6 @@
[project]
name = "gitup"
version = "0.5.2"
version = "0.5.3.dev0"
description = "Easily update multiple git repositories at once"
authors = [
{name = "Ben Kurtovic", email = "ben@benkurtovic.com"},
@@ -9,7 +9,7 @@ license = "MIT"
license-files = ["LICEN[CS]E*"]
keywords = ["git", "repository", "pull", "update"]
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"GitPython >= 3.1.1",
"colorama >= 0.4.6",
@@ -25,7 +25,6 @@ classifiers = [
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
@@ -50,3 +49,11 @@ dev = [
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.pyright]
pythonVersion = "3.9"
venvPath = "."
venv = ".venv"

[tool.ruff]
target-version = "py39"

+ 1
- 1
src/gitup/__init__.py Просмотреть файл

@@ -10,5 +10,5 @@ gitup: the git repository updater
__author__ = "Ben Kurtovic"
__copyright__ = "Copyright (C) 2011-2025 Ben Kurtovic"
__license__ = "MIT License"
__version__ = "0.5.2"
__version__ = "0.5.3.dev0"
__email__ = "ben.kurtovic@gmail.com"

Загрузка…
Отмена
Сохранить