Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade spelling workflow #240

Merged
merged 3 commits into from
Jan 30, 2025
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
1 change: 1 addition & 0 deletions .github/actions/spelling/excludes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ignore$
^Autocoders/Python/test/.*\.xml$
^test/fprime/fbuild/cmake-data/testbuild/CMakeLists\.txt$
^test/fprime/fbuild/settings-data/settings-empty\.ini$
commands_unit_test.py
^\.github/
pyproject.toml
setup.py
Expand Down
205 changes: 5 additions & 200 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
@@ -1,295 +1,100 @@
aei
argc
atoi
bak
baudrate
Callee
cargs
CDH
cexc
cfg
chrono
ci
cls
cmake
cmakelists
cmp
commonprefix
Comms
config
configparser
configs
confparse
consts
contextlib
contextmanager
cookiecutter
COOLDOWN
cpp
CPython
css
cstdlib
ctor
cwd
CXX
datetime
dedent
deduplicated
deepcopy
deframer
deframing
DEPS
deser
deserialization
deserialize
deserialized
deserializer
deserializes
dest
devnull
dfl
dinkel
dirname
dirone
dirs
distutils
doctest
drv
dumpable
Dxyz
elif
endfor
endif
endswith
entrypoint
enum
excinfo
exe
executables
extlinks
favicon
fbuild
fds
fh
filecmp
FILEID
fileobj
filepath
firest
floordiv
foreach
FPGA
fpl
fpp
fprime
fromkeys
fromtimestamp
func
funcs
functools
gcda
gcno
gcov
gcovr
genex
getattr
getcwd
getopt
gh
github
googletest
gtest
gui
hasattr
HJK
hostname
hpaulson
hpp
html
http
ifconfig
ifndef
impl
importlib
ini
inlined
intersphinx
isdir
isfile
isinstance
isnumeric
isoformat
Isr
issubclass
iterdir
itertools
itle
IUF
jishii
joinpath
joshuaa
jpl
JSO
json
jsonable
kevin
kwargs
len
linux
lld
llvm
locs
lstrip
lxml
makedirs
Makefiles
malloc
mallocator
maxdepth
MEMB
memset
metadata
mkdir
mkdtemp
mosa
mstarch
mul
MULTILINE
Mutex
namespace
namespaced
nargs
nitpicky
normpath
nullptr
openpty
optarg
optionxform
oran
OSAL
Packetizer
Paetz
params
pathlib
Peet
pexpect
Pkts
Popen
postprocessed
printf
PRIu
proj
ptf
py
pydoc
pyflakes
pylama
pylint
pypi
pytest
rackerlabs
rackspace
radd
raspberrypi
rb
readline
README
readthedocs
recommonmark
recv
reder
Refactor
relpath
restructuredtext
returncode
rfloordiv
rmd
rmtree
rmul
rpaetz
rst
rstrip
rsub
rtd
rtruediv
samefile
sanitizers
sched
SCLK
scm
sdd
setuptools
shutil
SIGINT
SIGTERM
sizeof
someotherpath
sphinxcontrib
splitlines
src
sset
stackoverflow
startswith
staticmethod
stderr
stdin
stderrs
stdint
stdout
stdouts
STest
strftime
stylesheet
subdir
subparser
Subproc
subtopology
sys
symlink
tcanham
Tcp
td
tempdir
tempfile
testbuild
testimpl
textwrap
thostname
timebase
timespec
toctree
todo
toolchain
toolchains
TOPOLOGYCONFIG
TOPOLOGYDEFS
truediv
typehints
typename
tport
tz
tzinfo
uart
Udp
uint
Uncomment
undoc
uninstall
unittest
unt
url
unittests
usec
useconds
usr
utf
Utils
valgrind
vals
venv
versioning
viewcode
Website
whitelist
whitespaces
workdir
www
wxgui
xml
version-check
0x48piraj
27 changes: 18 additions & 9 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,33 @@ jobs:
actions: read
outputs:
followup: ${{ steps.spelling.outputs.followup }}
runs-on: ubuntu-20.04
if: "contains(github.event_name, 'pull_request') || github.event_name == 'push'"
concurrency:
group: spelling-${{ github.event.pull_request.number || github.ref }}
# note: If you use only_check_changed_files, you do not want cancel-in-progress
cancel-in-progress: true
runs-on: ubuntu-24.04
if: ${{ contains(github.event_name, 'pull_request') || github.event_name == 'push' }}
steps:
- name: check-spelling
id: spelling
uses: check-spelling/[email protected].20
uses: check-spelling/[email protected].24
with:
suppress_push_for_open_pull_request: 1
checkout: true
post_comment: 0
extra_dictionaries:
check_extra_dictionaries: ''
dictionary_source_prefixes: >
{
"cspell": "https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20241114/dictionaries/"
}
extra_dictionaries: |
cspell:filetypes/filetypes.txt
cspell:python/python.txt
cspell:python/python/python-lib.txt
cspell:python/python/python.txt
cspell:python/common/extra.txt
cspell:django/django.txt
cspell:html/html.txt
cspell:fullstack/fullstack.txt
check_extra_dictionaries: ''
cspell:software-terms/softwareTerms.txt
cspell:cpp/stdlib-c.txt
cspell:cpp/stdlib-cpp.txt
cspell:mnemonics/mnemonics.txt
cspell:cpp/ecosystem.txt

Loading