A script to be used as a pre-commit git hook for projects written in Swift
Project description
Selective (Swift) Linter
This is a package to be used as a pre-commit git hook to lint changes in .swift files using Swiftlint Installed via Homebrew.
Installation and Dependencies
To install swiftlint from the terminal use Homebrew:
$ brew install swiftlint
To install this Python3 package
$ pip3 install selective_linter
To install the git hook to a repository, navigate to the root of that repository and run
$ python3 -m selective_linter --install
To deactivate the script run
$ git config hooks.skipswitflint true
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
selective_linter-0.0.1.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for selective_linter-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa94c6039a97f00961b5eec09ef856820a0a73a9977b10054a7c291a84310cb6 |
|
MD5 | 4d79db546e4aa7111e2512c73c2ac3f8 |
|
BLAKE2b-256 | 10ae5a852ebcbbef0b08c5cffff5fdb90108c90aeab826246618b3b6696d5c63 |