mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-11 10:33:08 -06:00
1.2 KiB
1.2 KiB
Contributing to Noms
License
Noms is open source software, licensed under the Apache License, Version 2.0.
Contributing code
Due to legal reasons, all contributors must sign a contributor license agreement, either for an individual or corporation, before a pull request can be accepted.
Languages
- Use Go, JS, or Python.
- Shell script is not allowed.
Coding style
- JS follows the Airbnb Style Guide
- Go uses
gofmt, advisable to hook into your editor - Tag PRs with either
toward: #<bug>orfixes: #<bug>to help establish context for why a change is happening
Running the tests
You can use go test command, e.g:
go test $(go list ./... | grep -v /vendor/)should run every tests except from vendor packages.
For JS code, We have a python script to run all js tests.
python tools/run-all-js-tests.py
Recommended Chrome extensions
- Hides generated (Go) files from GitHub pull requests: GitHub PR gen hider.