Skip to content

Commit

Permalink
ci: add spellchecker
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
  • Loading branch information
nathan-weinberg committed Apr 26, 2024
1 parent c4c6292 commit db8375f
Show file tree
Hide file tree
Showing 4 changed files with 134 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# SPDX-License-Identifier: Apache-2.0

name: Spellcheck

on:
pull_request:
branches: [main]
paths:
- '**.md'

permissions:
contents: read

jobs:
spellcheck:
name: Spellcheck (en_US)
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Spellcheck
uses: rojopolis/spellcheck-github-actions@0.35.0
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
.DS_Store

# Spelling
dictionary.dic
105 changes: 105 additions & 0 deletions .spellcheck-en-custom.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# make spellcheck-sort
# Please keep this file sorted:
Abhishek
Akash
AMDGPU
arge
arXiv
backend
backends
Bhandwaldar
CLI
cli
Colab
compositional
Conda
Containerfile
cpp
cuBLAS
CUDA
dataset
dev
ditaa
dr
Dropdown
env
Eval
Finetuning
GFX
GGUF
GiB
Gmail
gpu
hipBLAS
ilab
impactful
Inferencing
instructlab
ISA
JIT
Jupyter
KAGGLE
Kaggle
Kaggle's
Kai
Kubernetes
lignment
LLM
llms
LLVM
lora
Merlinite
Miniforge
Mixtral
MLX
mlx
NVidia
Nvidia
orchestrator
ots
Pareja
PEFT
PlantUML
Podman
pre
preprint
pyenv
PyPI
PyTorch
qlora
quantized
Quantizing
Radeon
RDNA
README
repo
ROCm
RTX
RX
Salawu
SDG
sexualized
SHA
Shivchander
Srivastava
subdirectory
Sudalairaj
Taj
tatsu
TBD
Tesla
th
th
tl
tox
unquantized
USM
venv
wikisql
WSL
xcode
XNACK
XT
XTX
Xu
YAML
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
help:
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_0-9-]+:.*?##/ { printf " \033[36m%-18s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)

.PHONY: spellcheck-sort
spellcheck-sort: .spellcheck-en-custom.txt
sort -d -f -o $< $<

#
# If you want to see the full commands, run:
# NOISY_BUILD=y make
Expand Down

0 comments on commit db8375f

Please sign in to comment.