diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 0000000..ee1225c --- /dev/null +++ b/.codespellrc @@ -0,0 +1,3 @@ +[codespell] +skip = .git,*.pdf,*.svg,*.css,*.min.js +# ignore-words-list = diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 0000000..5768d7c --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,19 @@ +--- +name: Codespell + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Codespell + uses: codespell-project/actions-codespell@v1 diff --git a/docs/js/bootstrap-table.js b/docs/js/bootstrap-table.js index e732a59..8cd62da 100644 --- a/docs/js/bootstrap-table.js +++ b/docs/js/bootstrap-table.js @@ -965,7 +965,7 @@ html.push(''); - // Fix #188: this.showToolbar is for extentions + // Fix #188: this.showToolbar is for extensions if (this.showToolbar || html.length > 2) { this.$toolbar.append(html.join('')); } @@ -1076,7 +1076,7 @@ column = that.columns[getFieldIndex(that.columns, key)], j = $.inArray(key, that.header.fields); - // Fix #142: search use formated data + // Fix #142: search use formatted data value = calculateObjectValue(column, that.header.formatters[j], [value, item, i], value); diff --git a/docs/pages/generate.md b/docs/pages/generate.md index f0206c2..3990c29 100644 --- a/docs/pages/generate.md +++ b/docs/pages/generate.md @@ -1,6 +1,6 @@ --- layout: editor -boostrap: docker +bootstrap: docker from: ubuntu:16.04 title: {{ site.name }} permalink: /generate diff --git a/tests/test_library.py b/tests/test_library.py index 64cf4de..dc1432f 100644 --- a/tests/test_library.py +++ b/tests/test_library.py @@ -1,6 +1,6 @@ ''' -test.py: Python testing to ensure correct formatting and varibles included for +test.py: Python testing to ensure correct formatting and variables included for metadata in experiments. Copyright (c) 2017, Vanessa Sochat