gitlint | Linting for your git commit messages | Code Analyzer library

 by   jorisroovers Python Version: 0.20.0.dev9 License: MIT

kandi X-RAY | gitlint Summary

kandi X-RAY | gitlint Summary

gitlint is a Python library typically used in Code Quality, Code Analyzer applications. gitlint has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However gitlint build file is not available. You can install using 'pip install gitlint' or download it from GitHub, PyPI.

Git commit message linter written in python (for Linux and Mac, experimental on Windows), checks your commit messages for style.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              gitlint has a low active ecosystem.
              It has 674 star(s) with 89 fork(s). There are 17 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 34 open issues and 112 have been closed. On average issues are closed in 313 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of gitlint is 0.20.0.dev9

            kandi-Quality Quality

              gitlint has 0 bugs and 103 code smells.

            kandi-Security Security

              gitlint has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              gitlint code analysis shows 0 unresolved vulnerabilities.
              There are 4 security hotspots that need review.

            kandi-License License

              gitlint is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              gitlint releases are available to install and integrate.
              Deployable package is available in PyPI.
              gitlint has no build file. You will be need to create the build yourself to build the component from source.
              gitlint saves you 2536 person hours of effort in developing the same functionality from scratch.
              It has 5513 lines of code, 481 functions and 72 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed gitlint and discovered the below as its top functions. This is intended to give you an instant insight into gitlint implemented functionality, and help decide if they suit your requirements.
            • Run gitlint
            • Handles Gitlint errors
            • Run a shell command
            • Run git checks
            • Build GitContext instance
            • Get stdin data
            • Build the LintConfig object
            • Cache the result of a function
            • Try to cache a key in the cache
            • Return the preferred encoding
            • Apply gitlint rules
            • Run git linter
            • Create a git context from a local repository
            • Log the commit information
            • Set the value of contrib
            • Set the extra_path option
            • Setup gitlint logging
            • Uninstall git - msg hook
            • Install git commit - msg hook
            • List of all the branches in the current branch
            • Create a git commit context from a given commit string
            • Create a GitCommit object from a commit message
            • Return a list of line rules for the commit message body
            • Return the stats of the changes in the diff tree
            • Return a list of line rule line rules
            • Return the branch name
            Get all kandi verified functions for this library.

            gitlint Key Features

            No Key Features are available at this moment for gitlint.

            gitlint Examples and Code Snippets

            No Code Snippets are available at this moment for gitlint.

            Community Discussions

            QUESTION

            Setting up gitlint pre-commit local for a repository
            Asked 2021-Feb-28 at 18:56

            I am trying to add a gitlint pre-commit hook in a repository. The .pre-commit-config.yaml file looks lke this:

            ...

            ANSWER

            Answered 2021-Feb-28 at 18:56

            The error message is not very helpful. I was just missing args and stages fields:

            Source https://stackoverflow.com/questions/66404081

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install gitlint

            You can install using 'pip install gitlint' or download it from GitHub, PyPI.
            You can use gitlint like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            All contributions are welcome and very much appreciated!.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install gitlint

          • CLONE
          • HTTPS

            https://github.com/jorisroovers/gitlint.git

          • CLI

            gh repo clone jorisroovers/gitlint

          • sshUrl

            git@github.com:jorisroovers/gitlint.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Code Analyzer Libraries

            javascript

            by airbnb

            standard

            by standard

            eslint

            by eslint

            tools

            by rome

            mypy

            by python

            Try Top Libraries by jorisroovers

            casa

            by jorisrooversPython

            memclient

            by jorisrooversGo

            yamlpal

            by jorisrooversPython

            pymarkdownlint

            by jorisrooversPython

            worldmap

            by jorisrooversJavaScript