Skip to main content

LG-Linter

Upload Python Package

A simple pre-commit linter for bash, python and c++.

Installation

Make sure you have pip3, clang-format and shellcheck installed. If not you can install them with

sudo apt update
sudo apt install -y python3-pip clang-format shellcheck

Next install the linter with

pip3 install lg-linter

Note: This will install / overwrite the linter config files in your home directory.

How to use

Inside your git repo run

init_lg_linter

The linter is now active and will be run before every commit. If you want to remove the linter from your repo use

deinit_lg_linter

Pro Tip: If the linter complains about stuff which clearly is wrong you can override him with

git commit --no-verify

Use with care, with great power comes great responsibility!

Contact

For feature requests or bug reports please drop an issue at https://github.com/lgulich/lg-linter.

Metadata

Release files for lg-linter 0.1.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lg-linter 0.1.11
File Size Uploaded Provenance Actions
lg-linter-0.1.11.tar.gz 8.3 kB Without provenance Details for lg-linter-0.1.11.tar.gz

Release files / lg-linter-0.1.11.tar.gz

Download URL lg-linter-0.1.11.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4847eea53a6ffa85b4c205f34d168614682f7b6164256d91156dd8df950552c9
BLAKE2b-256 checksum
How to use checksums
4b9badaed92bde4c147ef04470300e79e10268a0c49fc6585e0b35787a242f55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Security for lg-linter 0.1.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page