20883c95e8 | ||
---|---|---|
.circleci | ||
.github | ||
hooks | ||
.pre-commit-config.yaml | ||
.pre-commit-hooks.yaml | ||
.prettierrc | ||
LICENSE | ||
README.md | ||
SECURITY.md |
README.md
Speckle Pre-Commit Hooks
Introduction
This repository contains pre-commit hooks that are maintained by the Speckle team and Speckle's amazing community. The pre-commit hooks that belong here are useful for contributing to Speckle.
This repository is for contributor's to Speckle. If you're not a contributor (though, you should be!) and arrived here, you were probably looking for our website or our documentation.
Documentation
Comprehensive developer and user documentation for Speckle can be found in our:
📚 Speckle Docs website
Usage
- Add the following to your
.pre-commit-config.yaml
file:
- repo: https://github.com/specklesystems/pre-commit
rev: '0.1.0'
hooks:
- id: ggshield-not-ci
Developing & Debugging
- install:
git
pre-commit
- Git clone this repository. Detailed steps on how to do that can be found on GitHub's documentation.
- In a terminal,
cd
into a directory containing code that you wish to try the pre-commit hook on. e.g. Speckle'sspeckle-server
repository. - Run the following command to run a pre-commit hook directly from this repository. Replace
<pre-commit hook to run>
with the name of the hook you wish to run:
pre-commit try-repo ./path/to/cloned/specklesystems/pre-commit <pre-commit hook to run>
Contributing
Please make sure you read the contribution guidelines and code of conduct for an overview of the practices we try to follow.
Community
The Speckle Community hangs out on the forum, do join and introduce yourself & feel free to ask us questions!
Security
For any security vulnerabilities or concerns, please contact us directly at security[at]speckle.systems.
License
Unless otherwise described, the code in this repository is licensed under the Apache-2.0 License. Please note that some modules, extensions or code herein might be otherwise licensed. This is indicated either in the root of the containing folder under a different license file, or in the respective file's header. If you have any questions, don't hesitate to get in touch with us via email.