Skip to content
Open
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
35 changes: 35 additions & 0 deletions .github/workflows/typos_on_pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Typo Check

on:
pull_request:
branches: [ main ]

jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install --no-install-recommends -y wget hunspell hunspell-en-us
- name: Install typos
id: typo-install
run: |
pwd
mkdir ~/typos
cd ~/typos
wget -O typos.tar.gz https://github.com/crate-ci/typos/releases/download/v1.29.5/typos-v1.29.5-x86_64-unknown-linux-musl.tar.gz
tar xavf typos.tar.gz
- name: Run typo check
id: typo-check
run: |
set -e
touch tmpfile
~/typos/typos --words --config=docs/typos.toml | sort -u | hunspell -l -p docs/hunspell_whitelist - > tmpfile
if [ -s tmpfile ]; then
echo "*Typos found:*"
echo " (Can fix, modify docs/hunspell_whitelist, or add file type exception to docs/typos.toml)"
cat tmpfile
exit 1
fi
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ to the constraint (#725).
- The above `load` keys, which generally refer to electrical demand, are being deprecated.
Users should update their case files.
For now this is done in a backward-compatible manner, and @info reminders are written to the log to prompt the user to update.
"Load" now typically refers only to the transferrence of data from files to memory,
"Load" now typically refers only to the transference of data from files to memory,
except for a few places such as the common term "value of lost load" which refers to non-served demand (#397).
- `New_Build = -1` in `Generators_data.csv`: instead, use `New_Build = 0` and `Can_Retire = 0`.
- The matrix-style input of the grid for Network.csv is deprecated in favor a column-style input.
Expand Down Expand Up @@ -281,7 +281,7 @@ to the constraint (#725).
### Changed

- Simplified the `Simple_Test_Case` example (#414).
- SmallNewEngland/Onezone example now uses linearized unit committment by default (#404).
- SmallNewEngland/Onezone example now uses linearized unit commitment by default (#404).
- Removed the unused dependency BenchmarkTools (#381).

### Removed
Expand Down
Loading