poetry-githooks


Namepoetry-githooks JSON
Version 3.0.0 PyPI version JSON
download
home_pagehttps://github.com/thomasthiebaud/poetry-githooks
SummarySimple git hooks with poetry
upload_time2023-07-30 19:01:08
maintainer
docs_urlNone
authorThomas Thiebaud
requires_python>=3.8,<4.0
licenseMIT
keywords git hook githooks poetry
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # poetry-githooks

## Install

This repository is made to work with [poetry](https://python-poetry.org/). Assuming you have a working `poetry` setup, run

```
poetry add -D poetry-githooks
```

## Install

Create a `tool.githooks` section in your `pyproject.toml` file and define your git hooks, for example

```
[tool.githooks]
pre-commit = "black ."
```

then run

```
poetry run githooks setup
```

That's it :tada: your hooks will be ran using `poetry` when expected

**IMPORTANT** You need to rerun `poetry run githooks setup` everytime you change `[tool.githooks]`

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/thomasthiebaud/poetry-githooks",
    "name": "poetry-githooks",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "git,hook,githooks,poetry",
    "author": "Thomas Thiebaud",
    "author_email": "thiebaud.tom@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/31/5b/f4129b5ee79b5e35feb69e12e22500ac677dadc66ffc29bcb742f865a5c0/poetry_githooks-3.0.0.tar.gz",
    "platform": null,
    "description": "# poetry-githooks\n\n## Install\n\nThis repository is made to work with [poetry](https://python-poetry.org/). Assuming you have a working `poetry` setup, run\n\n```\npoetry add -D poetry-githooks\n```\n\n## Install\n\nCreate a `tool.githooks` section in your `pyproject.toml` file and define your git hooks, for example\n\n```\n[tool.githooks]\npre-commit = \"black .\"\n```\n\nthen run\n\n```\npoetry run githooks setup\n```\n\nThat's it :tada: your hooks will be ran using `poetry` when expected\n\n**IMPORTANT** You need to rerun `poetry run githooks setup` everytime you change `[tool.githooks]`\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Simple git hooks with poetry",
    "version": "3.0.0",
    "project_urls": {
        "Documentation": "https://github.com/thomasthiebaud/poetry-githooks",
        "Homepage": "https://github.com/thomasthiebaud/poetry-githooks",
        "Repository": "https://github.com/thomasthiebaud/poetry-githooks"
    },
    "split_keywords": [
        "git",
        "hook",
        "githooks",
        "poetry"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2de22346df367febd7dcdcdd3b402645bcab71cc76b57f0787295839012c01ee",
                "md5": "c129c14ebdab331527cab5690d1cb07a",
                "sha256": "18a59e57a4b3ab03e13c053fcf60d0f80ed1133807ea65e311974ea0265ed3ea"
            },
            "downloads": -1,
            "filename": "poetry_githooks-3.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c129c14ebdab331527cab5690d1cb07a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 5374,
            "upload_time": "2023-07-30T19:01:06",
            "upload_time_iso_8601": "2023-07-30T19:01:06.782429Z",
            "url": "https://files.pythonhosted.org/packages/2d/e2/2346df367febd7dcdcdd3b402645bcab71cc76b57f0787295839012c01ee/poetry_githooks-3.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "315bf4129b5ee79b5e35feb69e12e22500ac677dadc66ffc29bcb742f865a5c0",
                "md5": "d1630f79867890686fee7ab178d2bb12",
                "sha256": "d1f4a89fbd174246d76ad4ba85ddf929a0c09c41302dda03554a0ec2b54830bb"
            },
            "downloads": -1,
            "filename": "poetry_githooks-3.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d1630f79867890686fee7ab178d2bb12",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 3806,
            "upload_time": "2023-07-30T19:01:08",
            "upload_time_iso_8601": "2023-07-30T19:01:08.461625Z",
            "url": "https://files.pythonhosted.org/packages/31/5b/f4129b5ee79b5e35feb69e12e22500ac677dadc66ffc29bcb742f865a5c0/poetry_githooks-3.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-30 19:01:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "thomasthiebaud",
    "github_project": "poetry-githooks",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "poetry-githooks"
}
        
Elapsed time: 1.05869s