Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/spellcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ jobs:

- name: 'Check spelling'
run: |
uvx -- pyspelling --config .spellcheck.yaml --spellchecker aspell
uvx -- pyspelling --config .spellcheck.yaml
15 changes: 15 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
# Run `pre-commit install` to activate pre-commit hooks
repos:
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.21.0
hooks:
- id: markdownlint-cli2
- repo: 'https://github.com/facelessuser/pyspelling.git'
rev: '2.12.1'
hooks:
- id: 'pyspelling'
args: [
"--config", ".spellcheck.yaml"
]
7 changes: 5 additions & 2 deletions .spellcheck-en-custom.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Agentic
agentic
Agentic
Annunziata
CDLA
Colab
Expand All @@ -9,9 +9,12 @@ GPG
integrations
LangChain
LLM
markdownlint
md
nbstripout
Pingel
pre
pyspelling
README
repo
repo's
Expand All @@ -21,8 +24,8 @@ signoff
socio
SPDX
Summarization
Timeseries
timeseries
Timeseries
TODO
UI
venv
Expand Down
1 change: 1 addition & 0 deletions .spellcheck.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
spellchecker: aspell

matrix:
- name: markdown
Expand Down
16 changes: 15 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ This organization utilizes GitHub's recommended practices for integration branch

Setting up signing of commits is discussed in more detail [below](#signing-commits).

### Contribution Checks

This organization uses several tools to check contributions such as [markdownlint](https://github.com/DavidAnson/markdownlint-cli2), [pyspelling](https://github.com/facelessuser/pyspelling), and/or [nbstripout](https://github.com/kynan/nbstripout).
[Pre-commit](https://pre-commit.com) hook configuration is provided in the repositories and you should configure your local git repository to automatically run the pre-commit hooks.

Setting up your local git repository to automatically run the pre-commit hooks is discussed in more detail [below](#pre-commit-hooks).

## The GitHub Organization and Repositories

This repository contains common files, like this one, that apply to all projects in our GitHub organization.
Expand Down Expand Up @@ -134,7 +141,14 @@ git config --global commit.gpgsign true
> 1. Setting `commit.gpgsign` to be `true` means that you don't have to provide the `--gpg-sign` or `-S` flag to `git commit`. Signing will be done automatically.
> 2. As discussed above for signoff, if you don't want to make these changes globally, omit the `--global` flag in these commands and run them in each repo where they should apply.

### Licenses
## Pre-commit hooks

First, make sure to [install](https://pre-commit.com/#install) the `pre-commit` tool on your workstation.
Then you should configure the local git repository to [run](https://pre-commit.com/#usage) the pre-commit hooks whenever you make a commit.
If a pre-commit hooks identifies any issues, the commit will abort.
You can then make the necessary changes to resolve the identified issues, stage those changes, and make the commit again.

## Licenses

Unless specifically stated, all projects are distributed under a suitable "open" license. Use the following guidelines:

Expand Down