{"id":15067374,"url":"https://github.com/greenbone/autohooks-plugin-isort","last_synced_at":"2025-08-01T10:38:18.816Z","repository":{"id":37734304,"uuid":"204420264","full_name":"greenbone/autohooks-plugin-isort","owner":"greenbone","description":"An autohooks plugin for Python include sorting with isort","archived":false,"fork":false,"pushed_at":"2025-07-15T07:41:08.000Z","size":914,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-15T17:20:29.323Z","etag":null,"topics":["automation","base","devops","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/greenbone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-08-26T07:26:53.000Z","updated_at":"2025-07-15T07:41:12.000Z","dependencies_parsed_at":"2023-10-02T05:53:02.735Z","dependency_job_id":"efc669cb-fdb4-4ca4-845f-d2bedc4ea28d","html_url":"https://github.com/greenbone/autohooks-plugin-isort","commit_stats":{"total_commits":315,"total_committers":7,"mean_commits":45.0,"dds":"0.21904761904761905","last_synced_commit":"8c39045d5730ac1a1eade24d64d4f6ca1060fa30"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/greenbone/autohooks-plugin-isort","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fautohooks-plugin-isort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fautohooks-plugin-isort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fautohooks-plugin-isort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fautohooks-plugin-isort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greenbone","download_url":"https://codeload.github.com/greenbone/autohooks-plugin-isort/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fautohooks-plugin-isort/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265512709,"owners_count":23779968,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","base","devops","python"],"created_at":"2024-09-25T01:20:14.877Z","updated_at":"2025-07-17T03:02:49.643Z","avatar_url":"https://github.com/greenbone.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Greenbone Logo](https://www.greenbone.net/wp-content/uploads/gb_new-logo_horizontal_rgb_small.png)\n\n# autohooks-plugin-isort\n\n[![PyPI release](https://img.shields.io/pypi/v/autohooks-plugin-isort.svg)](https://pypi.org/project/autohooks-plugin-isort/)\n\nAn [autohooks](https://github.com/greenbone/autohooks) plugin for Python code\nformatting via [isort](https://github.com/timothycrosley/isort).\n\n## Installation\n\n### Install using pip\n\nYou can install the latest stable release of autohooks-plugin-isort from the\nPython Package Index using [pip](https://pip.pypa.io/):\n\n    python3 -m pip install autohooks-plugin-isort\n\n### Install using poetry\n\nIt is highly encouraged to use [poetry](https://python-poetry.org) for\nmaintaining your project's dependencies. Normally autohooks-plugin-isort is\ninstalled as a development dependency.\n\n    poetry add --dev autohooks-plugin-isort\n\n    poetry install\n\n## Usage\n\nTo activate the isort autohooks plugin please add the following setting to your\n*pyproject.toml* file.\n\n```toml\n[tool.autohooks]\npre-commit = [\"autohooks.plugins.isort\"]\n```\n\nBy default, autohooks plugin isort checks all files with a *.py* ending. If only\nthe imports of files in a sub-directory or files with different endings should\nbe sorted, just add the following setting:\n\n```toml\n[tool.autohooks]\npre-commit = [\"autohooks.plugins.isort\"]\n\n[tool.autohooks.plugins.isort]\ninclude = ['foo/*.py', '*.foo']\n```\n\nWhen using `autohooks-plugins-isort` in combination with\n[autohooks-plugin-black](https://github.com/greenbone/autohooks-plugin-black),\nthe following configuration is recommended to ensure a consistent formatting:\n\n```toml\n[tool.isort]\nprofile = \"black\"\n```\n\n## Maintainer\n\nThis project is maintained by [Greenbone AG](https://www.greenbone.net/).\n\n## Contributing\n\nYour contributions are highly appreciated. Please\n[create a pull request](https://github.com/greenbone/autohooks-plugin-isort/pulls)\non GitHub. Bigger changes need to be discussed with the development team via the\n[issues section at GitHub](https://github.com/greenbone/autohooks-plugin-isort/issues)\nfirst.\n\n## License\n\nCopyright (C) 2019 - 2023 [Greenbone AG](https://www.greenbone.net/)\n\nLicensed under the [GNU General Public License v3.0 or later](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreenbone%2Fautohooks-plugin-isort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreenbone%2Fautohooks-plugin-isort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreenbone%2Fautohooks-plugin-isort/lists"}