Skip to content

Commit

Permalink
rename PyGitHook => boldi-githooks
Browse files Browse the repository at this point in the history
  • Loading branch information
palotasb committed Apr 8, 2024
1 parent b47ad4d commit 7c4aa6c
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 43 deletions.
60 changes: 30 additions & 30 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pkg/boldi-githooks/boldi/githooks/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from boldi.githooks._pygithooks import main

__all__ = ["main"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from pygithook._pygithook import main
from boldi.githooks import main

if __name__ == "__main__":
main()
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "PyGitHook"
description = "PyGitHook - Simple Git Hooks manager for Python projects"
name = "boldi-githooks"
description = "boldi-githooks - Simple Git Hooks manager for Python projects"
authors = [
{ name = "Boldizsár Palotás", email = "[email protected]" },
]
Expand All @@ -15,20 +15,20 @@ dependencies = [
]

[project.scripts]
pygithook = "pygithook:main"
pygithooks = "boldi.githooks:main"

[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[tool.hatch.build]
packages = ["pygithook"]
packages = ["boldi"]

[tool.hatch.metadata.hooks.custom]
path = "hatch_hooks.py"

[tool.hatch.build.hooks.vcs]
version-file = "pygithook/_version.py"
version-file = "boldi/_githooks_version.py"

[tool.hatch.version]
source = "vcs"
Expand Down
3 changes: 0 additions & 3 deletions pkg/pygithook/pygithook/__init__.py

This file was deleted.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ dev = [
"-e boldi-cli @ {root:uri}/pkg/boldi-cli",
"-e boldi-ctx @ {root:uri}/pkg/boldi-ctx",
"-e boldi-dev @ {root:uri}/pkg/boldi-dev",
"-e boldi-githooks @ {root:uri}/pkg/boldi-githooks",
"-e boldi-plugins @ {root:uri}/pkg/boldi-plugins",
"-e boldi-proc @ {root:uri}/pkg/boldi-proc",
"-e boldi-webalbum @ {root:uri}/pkg/boldi-webalbum",
"-e PyGitHook @ {root:uri}/pkg/pygithook",
# building and packaging:
"pdm",
"hatch",
Expand All @@ -59,7 +59,7 @@ extend-select = [

[tool.ruff.lint.isort]
combine-as-imports = true
known-first-party = ["boldi", "boldi.*", "pygithook", "pygithook.*"]
known-first-party = ["boldi", "boldi.*"]

[tool.mypy]
packages = [
Expand All @@ -68,12 +68,12 @@ packages = [
"boldi.build",
"boldi.cli",
"boldi.ctx",
"boldi.githooks",
"boldi.plugins",
"boldi.proc",
"boldi.webalbum",
"pygithook",
]
mypy_path = "pkg/boldi:pkg/boldi-backup:pkg/boldi-build:pkg/boldi-cli:pkg/boldi-ctx:pkg/boldi-plugins:pkg/boldi-proc:pkg/boldi-webalbum:pkg/pygithook"
mypy_path = "pkg/boldi:pkg/boldi-backup:pkg/boldi-build:pkg/boldi-cli:pkg/boldi-ctx:pkg/boldi-githooks:pkg/boldi-plugins:pkg/boldi-proc:pkg/boldi-webalbum"

[tool.pyright]
venvPath = "."
Expand Down

0 comments on commit 7c4aa6c

Please sign in to comment.