diff --git a/.github/actions/spelling/excludes.txt b/.github/actions/spelling/excludes.txt index 7fdd1d05..631396ff 100644 --- a/.github/actions/spelling/excludes.txt +++ b/.github/actions/spelling/excludes.txt @@ -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 diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt index 9397f658..2d69ab7d 100644 --- a/.github/actions/spelling/expect.txt +++ b/.github/actions/spelling/expect.txt @@ -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 diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml index ece61437..57a70334 100644 --- a/.github/workflows/spelling.yml +++ b/.github/workflows/spelling.yml @@ -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/check-spelling@v0.0.20 + uses: check-spelling/check-spelling@v0.0.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 +