73 Commits

Author SHA1 Message Date
da0e1116c3 Update pre-commit version in documentation (#3666) 2025-03-13 09:57:35 -04:00
8a428851f2 Fix and clarify cases in ignore patterns (#3583)
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
2025-01-30 09:33:16 -05:00
678bc90e77 docs: typo in an example 2024-12-12 22:31:54 +01:00
a4bbf6517e Minor typo fix in README (#3580) 2024-11-15 11:42:15 -05:00
98a60acd19 Improve config file documentation in README (#3495) 2024-10-07 11:58:53 -04:00
e2f26d8de1 master → main (#3555) 2024-09-26 13:33:07 -04:00
04c372b245 Update "Using a config file" README entry to document behavior with '-' in value fields
See https://github.com/codespell-project/codespell/issues/3474#issuecomment-2193878382
2024-06-28 11:05:56 +02:00
b8ecc9b3ac docs: just codespell:ignore (#3397) 2024-04-10 11:54:40 -04:00
a3b934eaec docs: indentation error (#3392)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-03 19:40:39 +02:00
a6b4e1e84d docs: add the documentation of the new inline ignore comments (#3390) 2024-03-26 09:46:27 -04:00
326f55104d Makes config for "count" more clear as a boolean (#3307) 2024-01-24 21:30:42 +01:00
abd6311175 Consistent title case capitalisation (#3286) 2024-01-12 12:38:49 -05:00
14049fc24d doc: Specify .codespellrc is INI formatted
Closes #3229
2024-01-04 20:53:01 +01:00
15c861a13c Drop support for Python 3.7 2023-07-25 14:35:53 +02:00
c5bc4d7b5e Test to check our string escape word triggers on its own (#2879) 2023-06-15 10:45:22 -04:00
29a74789c3 Update README.rst
Update the README to elaborate on case-sensitivity in ignored words
and dictionaries.

Add an additional "Ignoring Words" section, with internal link from the
"noteworthy flags" overview.

Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>
Co-authored-by: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com>
2023-04-29 15:21:51 +03:00
6774b1a24d Update README pre-commit example to use latest version 2023-03-11 06:07:24 +01:00
22ac85a4fe doc: tomli is not needed for Python >= 3.11 (#2751) 2023-03-03 11:20:36 -05:00
f3561a3c91 pre-commit: Upgrade psf/black for stable style 2023 2023-02-01 16:40:29 +01:00
e78840b143 Prefer HTTPS to HTTP in URLs 2022-12-16 11:32:23 +01:00
d219e432de README: document simplest usage pattern (#2638) 2022-12-12 15:59:44 +00:00
fa3a11e566 README: Document how to use pre-commit (#2639) 2022-12-12 15:07:10 +00:00
8a68c1985d Normalize code block indicators in README (#2621) 2022-11-28 09:03:23 -05:00
8e855f48d6 Improve format of CC BY-SA 3.0 license link 2022-11-25 13:54:24 +01:00
4287f34e4c Fix typo in README pin → pip 2022-11-02 10:22:08 +01:00
c26bb28dad Isn't the mailing list obsolete? (#2090)
It hasn't been used since 2016.
2022-10-31 07:19:01 -04:00
b00b33ecb2 Document required setuptools version (#2560)
Building from source requires recent versions of some packages:
* setuptools>=64
* setuptools_scm[tomli]>=6.2
2022-10-26 11:07:44 -04:00
df00783d8f DOC/ENH: Clarify usage or configuration files and log about it (#2552) 2022-10-25 07:19:57 -04:00
f58c60b28f Update README.rst
Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>
2022-10-05 19:55:23 -04:00
d575a1041e FIX: RST 2022-10-05 13:52:42 -04:00
4792904cb7 ENH: CWD 2022-10-05 12:16:29 -04:00
6e684f31ac DOC: Better docs 2022-10-05 11:55:14 -04: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
c807a6cdd1 Add note about --exclude-file in README and update help text 2022-01-03 08:18:03 -08:00
5f986a3ef2 MAINT: Remove Python 3.5 support (#1948)
* MAINT: Remove Python 3.5 support

* Delete .travis.yml

Co-authored-by: bl-ue <bl-ue@users.noreply.github.com>
2021-06-13 11:57:28 -04: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
a6e64a13b2 Fix typo in README.md that codespell couldn't find
:)
2021-06-01 16:34:49 -04:00
b12cdb1b28 Add back part of the readme that was unnecessarily removed in #1669 (#1790) 2020-12-04 12:37:24 -05:00
05033c34b0 Update README around multi-dictionary changes (#1669)
* Update README around multi-dictionary changes

* Counting grammar fix

* Add back some removed information

* Improve the wording

* More attempts to cover multiple dictionaries in the readme

* Revert another edit about the trailing comma

* Apply suggestions from code review

Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
2020-11-23 10:35:20 -05:00
9672234591 Read options from config (#1668)
* Read options from config

* Fix assert in test

* Fix tests

* Fix readme to pass rst checks in Travis

* Also support .codespellrc config file

* Fix flake8 error

* CLI args override config args

* Rename tool:codespell to just codespell in config

* Fix typo in readme

* Remove unnecessary check for existance of config files (configparser already handles this case)
2020-09-01 15:10:19 -04: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
fb05494cec Clarify the -L option case sensitivity too (#1590) 2020-07-06 11:36:57 -04:00
5ed84fce8c Add renaming advice based on IETF draft-knodel-terminology-00 (#1556)
* Add renaming advice based on IETF draft-knodel-terminology-00

Add a new "usage" dictionary with usage advice based on:
https://tools.ietf.org/id/draft-knodel-terminology-00.html#rfc.section.1.1.1

Offer to replace master/slave with:
- Primary-secondary
- Leader-follower
- Active-standby
- Primary-replica
- Writer-reader
- Coordinator-worker
- Parent-helper

* Move recommended terms to "usage" dictionary

Backout the changes from commit 98ab0fa and move them into the
"usage" dictionary.

* Fix use of "whitelist" in README

Use the recommended replacement "allowlist"

* Update codespell_lib/_codespell.py

Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
2020-06-11 11:53:57 -04:00
9c3db1a5c5 MAINT: Remove 2.7 support (#1552) 2020-06-09 13:49:30 -04:00
7b90a6771d README: typo (#1490)
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
2020-05-20 15:36:19 -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
4071fdc2b2 Make some command flags more obviously code to avoid I/l confusion (#1338) 2019-11-21 12:41:47 -05:00
cc27a48c9a Using Codespell to fix Codespell typo... (#1245) 2019-09-09 12:14:32 -04:00
706888648f FIX: Rst 2019-05-17 14:11:41 -04:00
eab7617832 README: Add section on how to use latest dictionary.txt without... (#847)
updating codespell
2019-03-04 09:50:57 -05:00