Skip to content

specklesystems/pre-commit

Speckle Pre-Commit Hooks

Twitter Follow Community forum users website docs

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:

Usage

  1. 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

  1. install:
  • git
  • pre-commit
  1. Git clone this repository. Detailed steps on how to do that can be found on GitHub's documentation.
  2. In a terminal, cd into a directory containing code that you wish to try the pre-commit hook on. e.g. Speckle's speckle-server repository.
  3. 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.

About

pre-commit hooks customised by Speckle. https://pre-commit.com/

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages