[build-system] requires = ["hatchling"] build-backend = "hatchling.build" [project] name = "codeberg-to-gitea-migrator" version = "1.0.0" description = "Migrate repositories (code, issues & PRs, releases & assets, labels & milestones) from Codeberg to a self-hosted Gitea instance." readme = "README.md" requires-python = ">=3.11" license = "GPL-3.0-or-later" license-files = ["LICENSE"] authors = [{ name = "Alexander Kucera", email = "a.kucera@babylondreams.de" }] keywords = ["migration", "codeberg", "gitea", "forgejo", "repository-migration"] dependencies = ["httpx>=0.27"] [project.optional-dependencies] dev = ["pytest", "ruff"] [project.scripts] codeberg-to-gitea = "codeberg_to_gitea_migrator.cli:app" [tool.hatch.build.targets.wheel] packages = ["src/codeberg_to_gitea_migrator"] [tool.ruff] line-length = 100 target-version = "py311" extend-exclude = ["audit"] # generated reports, not source [tool.ruff.lint] # Explicit rule set so locked-deps CI lints reproducibly (ruff's defaults drift # across versions). Stable core: subset of pycodestyle + pyflakes. select = ["E4", "E7", "E9", "F"] [tool.pytest.ini_options] testpaths = ["tests"]