{"id":13498659,"url":"https://github.com/cpplint/cpplint","last_synced_at":"2025-05-12T13:19:48.294Z","repository":{"id":3861444,"uuid":"47154941","full_name":"cpplint/cpplint","owner":"cpplint","description":"Static code checker for C++","archived":false,"fork":false,"pushed_at":"2025-05-05T18:48:31.000Z","size":4619,"stargazers_count":1681,"open_issues_count":71,"forks_count":290,"subscribers_count":34,"default_branch":"develop","last_synced_at":"2025-05-12T13:19:40.353Z","etag":null,"topics":["cpp","lint","linter"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"google/styleguide","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cpplint.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2015-12-01T00:33:44.000Z","updated_at":"2025-05-12T06:50:31.000Z","dependencies_parsed_at":"2025-04-06T16:27:44.917Z","dependency_job_id":"bc73012f-b427-4d81-ba5f-233c062872a7","html_url":"https://github.com/cpplint/cpplint","commit_stats":{"total_commits":684,"total_committers":149,"mean_commits":4.590604026845638,"dds":0.8055555555555556,"last_synced_commit":"7b88b68187e3516540fab3caa900988d2179ed24"},"previous_names":["theandrewdavis/cpplint"],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpplint%2Fcpplint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpplint%2Fcpplint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpplint%2Fcpplint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpplint%2Fcpplint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpplint","download_url":"https://codeload.github.com/cpplint/cpplint/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253745196,"owners_count":21957319,"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":["cpp","lint","linter"],"created_at":"2024-07-31T21:00:40.429Z","updated_at":"2025-05-12T13:19:48.266Z","avatar_url":"https://github.com/cpplint.png","language":"Python","funding_links":[],"categories":["Static Code Analysis","Supported Linters","Python","Tools","Linters","排序","Programming Languages"],"sub_categories":["Development Helpers","C/C++","静态代码分析"],"readme":"#####################################\ncpplint - static code checker for C++\n#####################################\n\n.. image:: https://img.shields.io/pypi/v/cpplint.svg\n    :target: https://pypi.python.org/pypi/cpplint\n\n.. image:: https://img.shields.io/pypi/pyversions/cpplint.svg\n    :target: https://pypi.python.org/pypi/cpplint\n\n.. image:: https://img.shields.io/pypi/status/cpplint.svg\n    :target: https://pypi.python.org/pypi/cpplint\n\n.. image:: https://img.shields.io/pypi/l/cpplint.svg\n    :target: https://pypi.python.org/pypi/cpplint\n\n.. image:: https://img.shields.io/pypi/dd/cpplint.svg\n    :target: https://pypi.python.org/pypi/cpplint\n\n.. image:: https://img.shields.io/pypi/dw/cpplint.svg\n    :target: https://pypi.python.org/pypi/cpplint\n\n.. image:: https://img.shields.io/pypi/dm/cpplint.svg\n    :target: https://pypi.python.org/pypi/cpplint\n\nCpplint is a command-line tool to check C/C++ files for style issues according to `Google's C++ style guide \u003chttp://google.github.io/styleguide/cppguide.html\u003e`_.\n\nCpplint used to be developed and maintained by Google Inc. at `google/styleguide \u003chttps://github.com/google/styleguide\u003e`_. Nowadays, `Google is no longer maintaining the public version of cpplint \u003chttps://github.com/google/styleguide/pull/528#issuecomment-592315430\u003e`_, and pretty much everything in their repo's PRs and issues about cpplint have gone unimplemented.\n\nThis fork aims to update cpplint to modern specifications, and be (somewhat) more open to adding fixes and features to make cpplint usable in wider contexts.\n\n\nInstallation\n============\n\nUse [`pipx`](https://pipx.pypa.io) to install cpplint from PyPI, run:\n\n.. code-block:: bash\n\n    $ pipx install cpplint\n\nUsage\n-----\n.. code-block:: bash\n\n    $ cpplint [OPTIONS] files\n\nFor full usage instructions, run:\n\n.. code-block:: bash\n\n    $ cpplint --help\n\ncpplint can also be run as a pre-commit hook by adding to `.pre-commit-config.yaml`:\n\n.. code-block:: yaml\n\n  - repo: https://github.com/cpplint/cpplint\n    rev: 2.0.0\n    hooks:\n      - id: cpplint\n        args:\n          - --filter=-whitespace/line_length,-whitespace/parens\n\nChanges\n=======\n\n* python 3 compatibility\n* more default file extensions\n* customizable file extensions with the --extensions argument\n* continuous integration on github\n* support for recursive file discovery via the --recursive argument\n* support for excluding files via --exclude\n* JUnit XML output format\n* Overriding repository root auto-detection via --repository\n* Support ``#pragma once`` as an alternative to header include guards\n* ... and `quite a bit \u003chttps://github.com/cpplint/cpplint/blob/master/CHANGELOG.rst\u003e`_ more\n\nAcknowledgements\n================\n\nThanks to Google Inc. for open-sourcing their in-house tool.\n\nThanks to `our contributors \u003chttps://github.com/cpplint/cpplint/graphs/contributors\u003e`_.\n\nMaintainers\n-----------\n\n* `@aaronliu0130 \u003chttps://github.com/aaronliu0130\u003e`_\n* `@jayvdb \u003chttps://github.com/jayvdb\u003e`_\n\nFormer\n^^^^^^\n\n* `@tkruse \u003chttps://github.com/tkruse\u003e`_\n* `@mattyclarkson \u003chttps://github.com/mattyclarkson\u003e`_\n* `@theandrewdavis \u003chttps://github.com/theandrewdavis\u003e`_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpplint%2Fcpplint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpplint%2Fcpplint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpplint%2Fcpplint/lists"}