{"id":15192465,"url":"https://github.com/tj-pre-commit/graphene-django-precommit-hook","last_synced_at":"2025-12-14T18:49:05.609Z","repository":{"id":56473660,"uuid":"271626781","full_name":"tj-pre-commit/graphene-django-precommit-hook","owner":"tj-pre-commit","description":"Pre-commit hook for graphene-django schema generator","archived":true,"fork":false,"pushed_at":"2021-05-31T11:31:21.000Z","size":48,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T12:41:46.624Z","etag":null,"topics":["django-graphene","django-graphql","graphene-django","graphql","graphql-schema","hook","pre-commit-hook"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tj-pre-commit.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":null,"security":null,"support":null}},"created_at":"2020-06-11T19:07:08.000Z","updated_at":"2023-01-28T08:11:42.000Z","dependencies_parsed_at":"2022-08-15T19:30:29.548Z","dependency_job_id":null,"html_url":"https://github.com/tj-pre-commit/graphene-django-precommit-hook","commit_stats":null,"previous_names":["jackton1/graphene-django-precommit-hook"],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tj-pre-commit%2Fgraphene-django-precommit-hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tj-pre-commit%2Fgraphene-django-precommit-hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tj-pre-commit%2Fgraphene-django-precommit-hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tj-pre-commit%2Fgraphene-django-precommit-hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tj-pre-commit","download_url":"https://codeload.github.com/tj-pre-commit/graphene-django-precommit-hook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234957753,"owners_count":18913343,"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":["django-graphene","django-graphql","graphene-django","graphql","graphql-schema","hook","pre-commit-hook"],"created_at":"2024-09-27T21:40:23.983Z","updated_at":"2025-10-02T08:30:40.333Z","avatar_url":"https://github.com/tj-pre-commit.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# graphene-django-precommit-hook\n[pre-commit](https://pre-commit.com) hook to generate your graphql schema for [graphene-django](https://github.com/graphql-python/graphene-django).\n\n\n## As a pre-commit hook\n\nSee [pre-commit](https://github.com/pre-commit/pre-commit) for instructions\n\n\nSample basic `.pre-commit-config.yaml`\n\n```yaml\n-   repo: https://github.com/tj-pre-commit/graphene-django-precommit-hook\n    rev: v2.0.0\n    hooks:\n      - id: graphene-django-hook\n        stages: [commit]\n```\n\n\nSample complex `.pre-commit-config.yaml`\n\n```yaml\n-   repo: https://github.com/tj-pre-commit/graphene-django-precommit-hook\n    rev: v2.0.0\n    hooks:\n      - id: graphene-django-hook\n        stages: [commit]\n        args: [\n          '--settings',\n          'project.settings'. # Defaults to: DJANGO_SETTINGS_MODULE\n          '--indent',\n          '4' # See https://docs.graphene-python.org/projects/django/en/latest/introspection/\n          '--out',\n          'path/to/schema.graphql',\n          '--schema',\n          'module.path.to.schema',\n          '--verbosity', # OR '-v'\n          '2', # Set the verbosity level {0,1,2,3}\n        ]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftj-pre-commit%2Fgraphene-django-precommit-hook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftj-pre-commit%2Fgraphene-django-precommit-hook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftj-pre-commit%2Fgraphene-django-precommit-hook/lists"}