71 Commits

Author SHA1 Message Date
754b9a52f7 MAINT: Use pyproject and setuptools_scm (#2523)
* MAINT: Use pyproject and setuptools_scm

* FIX: Name

* FIX: Better

* FIX: Better

* FIX: Better

* FIX: Ver

* Update .github/workflows/codespell-private.yml

Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>

Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>
2022-10-14 14:15:52 -04:00
fd1d5c0d8d Quote the skip list
Otherwise if people copy our example then change the skip list they can make invalid YAML
2022-10-06 15:11:35 +01:00
de6289b593 FIX: Try again 2022-10-05 13:25:56 -04:00
6e684f31ac DOC: Better docs 2022-10-05 11:55:14 -04:00
03389bf13f Try switching to 22.04 2022-10-05 16:00:17 +01:00
wzy
2a0ee4b4b9 Fix #2055: Add support for PEP 518 (#2290)
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
2022-10-05 10:36:19 -04:00
6e0dbf600d Upgrade GitHub actions across workflows 2022-06-23 20:52:22 -07:00
fa5a0e80b1 Make the workflow name different 2022-01-26 23:48:41 +00:00
26345ccfd7 Unpin flake8 and set action verion to v2 2021-09-22 21:44:17 -07:00
5cc0c368d0 Update codespell-private.yml 2021-09-21 12:42:13 -07:00
93c838fca3 Remove trailing spaces 2021-09-14 11:27:10 +02:00
8fb760b098 Add note about not being a general spell checking tool. (#1535)
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>
Co-authored-by: bl-ue <bl-ue@users.noreply.github.com>
2021-06-13 10:25:16 -04:00
79d972677e Run full testing via GH Actions (#1810)
* Run more tests via github actions

* Fix the syntax

* Simplify the Python build

* Install the missing requirements

* Switch to 20.04 to match Travis

* Add 3.9, tidy up a bit

* Add a comment about latest aspell

* Update codespell-private.yml

Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
2020-12-08 11:43:51 -05:00
e4b648fa3a Fix dictionary check action and standardise the make command we run (#1647)
* Update .travis.yml

* Add more debugging to make

* Removing some extra make debug

* Warn if the dictionary tests won't be run

* Remove the make verbosity again

* Install the required dependencies

* Try and install via the right version of pip

* Add a dev extras section

* Switch to the dev extras to install the codespell dev packages

* Install the codespell dev packages via pip

* We need to checkout to have our file

* Install general dependencies

* Add more stuff to extras

* Install the extras from the right directory

Also move more stuff to extras

* Remove the packages installed via the dev packaging and standardise the order with Travis

* Fix the flake8 warnings

* Make the missing test dependencies a fatal error

* Add a note about dev to the readme

* Update README.rst formatting

Co-authored-by: Eric Larson <larson.eric.d@gmail.com>

* Tweak licence detail formatting

Co-authored-by: Eric Larson <larson.eric.d@gmail.com>

* Pull coverage in as a dependency

* Pull coverage in as a dependency

* Add flake8 to our dev and sort the requirements

* Add a check action which calls flake8, check-manifest and check-dictionaries

* Add the other bits of checking to Makefile

* Switch to make check

* Try running make check on appveyor

* Add a note about make check

* No make on appveyor

Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
2020-09-01 11:31:54 -04:00
166147f576 Ignore the .git folder (#1550) 2020-06-09 13:45:16 -04:00
8546785cbf Dog meet food (#1545)
* Dog meet food

Start dogfooding ourselves

* Make us more diligent and simplify skipping hidden files

* Add a name to our action
2020-06-08 15:07:40 -04:00
4790b7ff8d Add our sort matcher too 2020-05-20 11:01:31 +01:00
602f143f4e Add flake8 annotions (#1502)
* Check for duplicates across dictionaries

And no longer allow self-corrections within these checks (given we exclude them elsewhere already)

* Add an annotating flake8 task

* Actually checkout the code in this step

* Add the missing newline
2020-05-18 19:02:00 -04:00
a7624a348c Sort multiple dictionaries (#1475)
* Check all the dictionaries are sorted

* Sort and trim all dictionaries

* Add a github action to run make check-dictionary

* Fix the grammar of the tasks, but keep the old ones for backwards compatibility

* Use the new Makefile methods everywhere and update docs

* Sort the dictionaries
2020-04-07 14:36:21 -04:00
ac9e18a3ec Update codespell.yml 2020-01-15 14:32:11 -05:00
2df5ba4e3d GitHub Action to automate the identification of common misspellings (#1410)
* GitHub Action to automate the identification of common misspellings

GitHub Action to automate the identification of common misspellings in text files.
https://github.com/codespell-project/codespell

* codespell --skip=./.*,./codespell_lib,./example/code.c

* Update codespell.yml
2020-01-15 14:22:14 -05:00