Skip to main content

A pluggable linter and fixer to enforce Protocol Buffer style and conventions.

Project description

This package contains the pre-compiled binaries. Home-page: https://github.com/yoheimuta/protolint/ Author: yohei yoshimuta Maintainer: yohei yoshimuta License: MIT Project-URL: Official Website, https://github.com/yoheimuta/protolint/ Project-URL: Source Code, https://github.com/yoheimuta/protolint.git Project-URL: Issue Tracker, https://github.com/yoheimuta/protolint/issues Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: Console Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Natural Language :: English Classifier: Operating System :: MacOS Classifier: Operating System :: Microsoft :: Windows Classifier: Operating System :: POSIX :: Linux Classifier: Programming Language :: Go Classifier: Topic :: Software Development :: Pre-processors Classifier: Topic :: Utilities Requires-Python: >= 3.0 Description-Content-Type: text/rst License-File: LICENSE

protolint

protolint is the pluggable linting/fixing utility for Protocol Buffer files (proto2+proto3)

  • Runs fast because this works without compiler.

  • Easy to follow the official style guide. The rules and the style guide correspond to each other exactly.

    • Fixer automatically fixes all the possible official style guide violations.

  • Allows to disable rules with a comment in a Protocol Buffer file.

    • It is useful for projects which must keep API compatibility while enforce the style guide as much as possible.

    • Some rules can be automatically disabled by inserting comments to the spotted violations.

  • Loads plugins to contain your custom lint rules.

  • Undergone testing for all rules.

  • Many integration supports.

    • protoc plugin

    • Editor integration

    • GitHub Action

    • CI Integration

    Usage in python projects

You can use protolint as a linter within your python projects, the wheel protolint-bin on pypi contains the pre-compiled binaries for various platforms. Just add the desired version to your pyproject.toml or requirements.txt.

The wheels downloaded will contain the compiled go binaries for protolint and protoc-gen-protolint. Your platform must be compatible with the supported binary platforms.

You can add the linter configuration to the tools.protolint package in pyproject.toml.

More information

You will find more information on the projects homepage.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

protolint_bin_test-0.49.4.post7-py2.py3-none-win_arm64.whl (8.7 MB view hashes)

Uploaded Python 2 Python 3 Windows ARM64

protolint_bin_test-0.49.4.post7-py2.py3-none-win_amd64.whl (9.6 MB view hashes)

Uploaded Python 2 Python 3 Windows x86-64

protolint_bin_test-0.49.4.post7-py2.py3-none-macosx_10_0_x86_64.whl (9.5 MB view hashes)

Uploaded Python 2 Python 3 macOS 10.0+ x86-64

protolint_bin_test-0.49.4.post7-py2.py3-none-macosx_10_0_arm64.whl (9.0 MB view hashes)

Uploaded Python 2 Python 3 macOS 10.0+ ARM64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page