# To install a gitlint as a commit-msg git hook: Gitlint -msg-filename examples/commit-message-2 # Or read the commit-msg from a file, like so: # Alternatively, pipe a commit message to gitlint: # NOTE: -ulimit is required to work around a limitation in Docker Sudo port install gitlint # Macports (macOS)ĭocker run -ulimit nofile=1024 -v $(pwd):/repo jorisroovers/gitlint # To install gitlint with looser dependency requirements, only install gitlint-core. # Alternative: by default, gitlint is installed with pinned dependencies. Getting Started Installation # Pip is recommended to install the latest version Python code standards (pep8, pylint), good documentation, widely used, proven track record. Production-ready: Gitlint checks a lot of the boxes you're looking for: actively maintained, high unit test coverage, integration tests,. #Github desktop squash full#Full unicode support: Lint your Russian, Chinese or Emoji commit messages with ease!.User-defined rules: Want to do more then what gitlint offers out of the box? Write your own user defined rules.Community contributed rules: Conventions that are common but not universal can be selectively enabled.Easily configurable: Gitlint has sane defaults, but you can also easily customize it to your own liking.Standards, others are based on checks that we've found Sane defaults: Many of gitlint's validations are based on.Easily integrated: Gitlint is designed to work with your own scripts or CI system.Commit message hook: Auto-trigger validations against new commit message right when you're committing.The last gitlint version to support Python 2.7 and Python 3.5 is 0.14.0 (released on October 24th, 2020). Gitlint no longer supports Python 2.7 and Python 3.5 as they have reached End-Of-Life.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |