{"id":14065271,"url":"https://github.com/greenbone/autohooks-plugin-pytest","last_synced_at":"2025-10-10T23:14:58.241Z","repository":{"id":36976150,"uuid":"452659495","full_name":"greenbone/autohooks-plugin-pytest","owner":"greenbone","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-10T18:08:56.000Z","size":653,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-09-10T22:42:10.451Z","etag":null,"topics":["automation","devops","extended","hooks","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-01-27T11:41:55.000Z","updated_at":"2025-09-10T18:08:58.000Z","dependencies_parsed_at":"2023-02-12T21:16:03.083Z","dependency_job_id":"e07c9cfb-ef43-4ebf-a65d-89a4f0d30c7b","html_url":"https://github.com/greenbone/autohooks-plugin-pytest","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/greenbone/autohooks-plugin-pytest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fautohooks-plugin-pytest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fautohooks-plugin-pytest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fautohooks-plugin-pytest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fautohooks-plugin-pytest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greenbone","download_url":"https://codeload.github.com/greenbone/autohooks-plugin-pytest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fautohooks-plugin-pytest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005549,"owners_count":26083918,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","devops","extended","hooks","python"],"created_at":"2024-08-13T07:04:23.989Z","updated_at":"2025-10-10T23:14:58.209Z","avatar_url":"https://github.com/greenbone.png","language":"Python","readme":"![Greenbone Logo](https://www.greenbone.net/wp-content/uploads/gb_new-logo_horizontal_rgb_small.png)\n\n# autohooks-plugin-pytest\n\n[![PyPI release](https://img.shields.io/pypi/v/autohooks-plugin-pytest.svg)](https://pypi.org/project/autohooks-plugin-pytest/)\n\nAn [autohooks](https://github.com/greenbone/autohooks) plugin for [pytest](https://github.com/pytest-dev/pytest/).\n\n## Installation\n\n### Install using pip\n\nYou can install the latest stable release of autohooks-plugin-pytest from the\nPython Package Index using [pip](https://pip.pypa.io/):\n\n    python3 -m pip install autohooks-plugin-pytest\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-pytest is\ninstalled as a development dependency.\n\n    poetry install\n\n## Usage\n\nTo activate the pytest autohooks plugin please add the following setting to your\n*pyproject.toml* file.\n\n```toml\n[tool.autohooks]\npre-commit = [\"autohooks.plugins.pytest\"]\n```\n\nBy default, autohooks plugin pytest checks all files with a *.py* ending. If\nonly files in a sub-directory or files with different endings should be\ntested, just add the following setting:\n\n```toml\n[tool.autohooks]\npre-commit = [\"autohooks.plugins.pytest\"]\n\n[tool.autohooks.plugins.pytest]\ninclude = ['foo/*.py', '*.foo']\n```\n\nBy default, autohooks plugin pytest executes pytest without any arguments and\npytest settings are loaded from the *.pytestrc* file in the root directory of\ngit repository. To change specific settings or to define a different pytest rc\nfile the following plugin configuration can be used:\n\n```toml\n[tool.autohooks]\npre-commit = [\"autohooks.plugins.pytest\"]\n\n[tool.autohooks.plugins.pytest]\narguments = [\"--rcfile=/path/to/pytestrc\", \"-s\", \"n\"]\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-pytest/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-pytest/issues)\nfirst.\n\n## License\n\nCopyright (C) 2021-2023 [Greenbone AG](https://www.greenbone.net/)\n\nLicensed under the [GNU General Public License v3.0 or later](LICENSE).\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreenbone%2Fautohooks-plugin-pytest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreenbone%2Fautohooks-plugin-pytest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreenbone%2Fautohooks-plugin-pytest/lists"}