{"id":16771515,"url":"https://github.com/sgammon/codeclimate-protobuf","last_synced_at":"2025-07-27T10:38:06.559Z","repository":{"id":50214357,"uuid":"103889704","full_name":"sgammon/codeclimate-protobuf","owner":"sgammon","description":"protoc-gen-lint support for CodeClimate","archived":false,"fork":false,"pushed_at":"2023-10-17T20:24:01.000Z","size":25468,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-10T15:50:31.426Z","etag":null,"topics":["codeclimate","linter","protobuf","protoc","protocol-buffers"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/sgammon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-18T04:03:08.000Z","updated_at":"2018-03-02T17:01:24.000Z","dependencies_parsed_at":"2024-12-18T13:53:48.718Z","dependency_job_id":null,"html_url":"https://github.com/sgammon/codeclimate-protobuf","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgammon%2Fcodeclimate-protobuf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgammon%2Fcodeclimate-protobuf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgammon%2Fcodeclimate-protobuf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgammon%2Fcodeclimate-protobuf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgammon","download_url":"https://codeload.github.com/sgammon/codeclimate-protobuf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305944,"owners_count":20917208,"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":["codeclimate","linter","protobuf","protoc","protocol-buffers"],"created_at":"2024-10-13T06:28:20.361Z","updated_at":"2025-04-05T08:13:01.696Z","avatar_url":"https://github.com/sgammon.png","language":"Python","readme":"\n# protolint [![CircleCI](https://circleci.com/gh/sgammon/codeclimate-protobuf/tree/master.svg?style=svg)](https://circleci.com/gh/sgammon/codeclimate-protobuf/tree/master) [![Build Status](https://travis-ci.org/sgammon/codeclimate-protobuf.svg?branch=master)](https://travis-ci.org/sgammon/codeclimate-protobuf)  [![Code Climate](https://codeclimate.com/github/sgammon/codeclimate-protobuf/badges/gpa.svg)](https://codeclimate.com/github/sgammon/codeclimate-protobuf) [![Test Coverage](https://codeclimate.com/github/sgammon/codeclimate-protobuf/badges/coverage.svg)](https://codeclimate.com/github/sgammon/codeclimate-protobuf/coverage) [![Issue Count](https://codeclimate.com/github/sgammon/codeclimate-protobuf/badges/issue_count.svg)](https://codeclimate.com/github/sgammon/codeclimate-protobuf)\n## support for `protobuf` in CodeClimate\n\n- Latest Release: `v1.1.4`\n- `protoc` Version: `v3.4.1`\n\nThis tool wraps `protoc-gen-lint` to generate improvement suggestions for your `.proto`s. It then outputs those items in CodeClimate's JSON format, so it can be used as a [CodeClimate Engine](http://blog.codeclimate.com/blog/2015/07/07/build-your-own-codeclimate-engine/).\n\n\n### Configuration\n\nThere is a custom configuration entry - `protopaths` - that lets you specify `-I`/`--protos_path=` flags to the `protoc` compiler. If your `.proto` files use `import \"...\";` directives, you probably need this. Here's how you do it:\n\n```yaml\nengines:\n  protolint:\n    enabled: true\n    config:\n      protopaths:\n        - sources/models/pathone\n        - sources/models/pathtwo\n```\n\n\n### How it works\n\nIt's a Python module called `protolint`, with a module-level run file (`__main__.py`). It can be executed via any of the following methods:\n\nVia the local bash script:\n```bash\n./protolint.sh \u003cargs...\u003e\n```\n\nVia the virtualenv:\n```bash\n./activate \u0026\u0026 protolint \u003cargs...\u003e\n```\n\nAfter installing globally, you can additionally execute it via:\n\nGlobal module in Python:\n```bash\npython -m protolint \u003cargs...\u003e\n```\n\nCLI tool:\n```bash\nprotolint \u003cargs...\u003e\n```\n\nThe tool should output messages to `stderr` and JSON-formatted issues to `stdout`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgammon%2Fcodeclimate-protobuf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgammon%2Fcodeclimate-protobuf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgammon%2Fcodeclimate-protobuf/lists"}