./devel/py-codespell, Check code for common misspellings

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.3.0, Package name: py312-codespell-2.3.0, Maintainer: pkgsrc-users

Fix common misspellings in text files. It's designed primarily for
checking misspelled words in source code, but it can be used with
other files as well.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 322.062 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-10-04 23:40:50 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-codespell: updated to 2.2.6

v2.2.6

What's Changed

Test to check our string escape word triggers on its own
feat(dictionary): add additiional additional entry
Add currebtly Misspelling
Add more typos for "approximate"
Add new typos for "load"
Add typos for "accommodate"
Add spelling correction for 'prodive'
Add annhilate Mispelling
Add alternative spelling corrections for "merget"
Add various typos
Add suffixes to existing typos
Add twine As Dev Dependency
frustrum->frustum
Add several spelling corrections
Add suffixes to existing typos, part 2
Add iamges->images and cannel variants
Add all corrections
Add suffixes to typos that start with "a"
Add suffixes to typos from "b" to "ch"
Add suffixes to typos from "cop" to "cy"
Add spelling corrections for upperace and lowerace.
Add suffixes to typos from "ci" to "con"
Add variations of 'check'
Add suffixes to typos that start with "de"
Add suffixes to typos from "di" to "dy"
Add suffixes to typos that start with "e"
Add some spelling corrections
Add suffixes to typos that start with "f"
Add typos for "general", "generate", "generic"
Move dateset to code
Add correction for "distict"
Add several spelling corrections
Add new suggestions for existing typos
Add suffixes to typos that start with "g" or "h"
Dev Container
Add postifx->postfix to code dictionary
Add openes->opens, openness, to dictionary
Add suffixes to typos from "ib" to "im"
Add indepentend->independent
Add several spelling corrections
feat: Add collogue->colleague to dictionary
Typos from OpenSSL 3.0
Add suffixes to typos from "ip" to "k"
Add suffixes to typos that start with "in"
Add typos discovered in django/deps repository
Add some archaic terms for Muslim to dictionary
Add words from misspell's dictionary (A-1)
Add suffixes to typos that start with "l"
Add typo fix: reacord->record
Add suffixes to typos that start with "m"
Add suffixes to typos that start with "n"
Add suffixes to typos that start with "o"
Improve existing suggestions
Add vulnerabily->vulnerably, vulnerability, spelling correction.
Add suffixes to typos from "pa" to "pl"
Add suffixes to typos from "po" to "pu"
Allow words missing from aspell dictionaries
Add journalling->journaling to GB->EN dict
Use large aspell dictionaries
Add suffixes to typos from "q" to "red"
Add suffixes to typos from "ref" to "rep"
Add suffixes to typos from "req" to "ry"
Add suffixes to typos from "sa" to "se"
Add suffixes to typos from "sh" to "sp"
Add suffixes to typos from "sr" to "st"
Remove a branch from main() to pass Ruff CI check.
Add suffixes to typos from "su" to "sz"
Dictionary fixes
Add Pre-Commit as a dev dependency
Drop support for Python 3.7
Fix pre-commit issues
Add suffixes to typos that start with "t"
Add suffixes to typos that start with "u"
Add suffixes to typos that start with "v"
Add suffixes to typos from "w" to "z"
Add some new misspellings
Add spelling corrections for defaoult and variants.
Fix the name of the extra word lists we load
Add suffixes to typos from "aa" to "acc"
Add suffixes to typos from "ace" to "ad"
Add suffixes to typos from "af" to "al"
Dictionary fixes
Add suffixes to typos from "am" to "an"
Use pre-commit to sort the dictionaries
Simpler dictionary parsing
[pre-commit.ci] pre-commit autoupdate
Add suffixes to typos that start with "ap"
Half dozen new cases in dictionary.txt
Add suffixes to typos that start with "ar"
Add suffixes to typos that start with "as"
Add suffixes to typos from "at" to "ay"
Add suffixes to typos from "ba" to "be"
Add preperint typo
Add some typos found in a large documentation repo
Add suffixes to typos from "bi" to "bu"
Add suffixes to typos that start with "ca"
Add some misspellings and refinements
Add typo variations of background(s)
Add more typos for "check" and similar
...ter → ...tor
Add suffixes to typos from "ce" to "ci"
Remove the grave accent (`) from the default word regex
Add typo variations for 'enble'->'enable' to main dictionary
[pre-commit.ci] pre-commit autoupdate
Add suffixes to typos from "cl" to "col"
Generate alternative typos with a translation table
Remove redundant linting CI workflows handled by pre-commit.ci
Fix ruff lint error
Add suffixes to typos that start with "com"
Add spelling correction for information and variant.
Replace local and CI workflow by pre-commit
Add fram->frame and friend
Add typo variations of 'dispatch'
Add more typos for "configure" and similar
Add suffixes to typos from "cona" to "conr"
Add suffixes to typos from "cons" to "conv"
Add more typos for "correspond" and similar
Adding articifial to artificial to dictionary.txt
Move the valid word implementor in rare dictionary
Typos from tcpdump and libpcap
[pre-commit.ci] pre-commit autoupdate
Add suffixes to typos from "coo" to "coy"
Add suffixes to typos from "cp" to "cy"
Add suffixes to typos from "dc" to "den"
Add suffixes to typos from "dep" to "der"
[pre-commit.ci] fix new ruff issue
Add suffixes to typos from "des" to "dev"
Add suffixes to typos that start with "di"
Add suffixes to typos from "do" to "dy"
Add suffixes to typos from "ea" to "en"
Add suffixes to typos from "ep" to "exe"
Add suffixes to typos from "exi" to "exu"
[pre-commit.ci] pre-commit autoupdate
Update dictionary.txt
[pre-commit.ci] pre-commit autoupdate
Add suffixes to typos that start with "f"
Add suffixes to typos from "g" to "h"
Additions to dictionary.txt
Modify structure of dict read from TOML to match dict read from INI
Add suffixes to typos from "id" to "inh"
Add more typos for "initialize" and similar
Add suffixes to typos from "ini" to "it"
Add suffixes to typos from "j" to "l"
Add refinement to 'draing' typo
Add suffixes to typos from "ma" to "me"
Add suffixes to typos from "mi" to "mu"
Add more variations of "except" and "exempt"
[pre-commit.ci] pre-commit autoupdate
Bump actions/checkout from 3 to 4
Add spelling correction for "exis".
Add followiing->following
Add suffixes to typos that start with "n"
Add suffixes to typos that start with "o"
[pre-commit.ci] pre-commit autoupdate
Add suffixes to typos that start with "pa"
Add suffixes to typos from "pe" to "po"
Get rid of typos with apostrophe replaced by semicolon
Add suffixes to typos from "pr" to "pu"
Add handlong->handling
Bump codecov/codecov-action from 3 to 4
Add suffixes to typos from "q" to "rec"
Add various typos
Add suffixes to typos from "red" to "rep"
Add suffixes to typos from "req" to "ru"
Dictionary additions
[pre-commit.ci] pre-commit autoupdate
Add suffixes to typos from "sa" to "se"
Add correction for havne't->haven't
Add suffixes to typos from "sh" to "so"
Add suffixes to typos from "sp" to "st"
Add suffixes to typos from "su" to "sy"
Add suffixes to typos from "ta" to "th"
[pre-commit.ci] pre-commit autoupdate
Add suffixes to typos from "ti" to "ty"
Add suffixes to typos that start with "u"
Add suffixes to typos from "v" to "z"
many new typos from different repositories
fixing setuptool_scm dependency because the latest version is broken
More typos
Use f-strings wherever possible
   2023-06-19 10:16:04 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-codespell: update to 2.2.5.

What's Changed

    Add fixing consciousely typo by @yarikoptic in #2777
    atalog typo (saw twice in a project) by @yarikoptic in #2782
    created fstrings by @marksmayo in #2784
    Replace bandit, isort, pylint, pyupgrade, and flake8 plus plugins with ruff \ 
by @cclauss in #2779
    Add Microsoft Mispelling by @Casey-Kiewit in #2789
    Use Latest Version In README Pre-Commit Example by @Casey-Kiewit in #2788
    ruff: Use format specifiers instead of percent format by @cclauss in #2787
    New typos by @gforcada in #2793
    Ruff: Ignore new rule PLC1901 by @cclauss in #2797
    Add various typo fixes by @luzpaz in #2795
    Another suggestion by @gforcada in #2798
    Fix AssertionError when opening with chardet by @n-thumann in #2785
    Fix typo (and variants) from xxHash by @DimitriPapadopoulos in #2761
    Add huld->hold Spelling Mistake by @Casey-Kiewit in #2792
    Fix CI issues by @DimitriPapadopoulos in #2796
    CI: fix new ruff error B028 by @DimitriPapadopoulos in #2802
    Skip subdirectories of hidden directories by @DimitriPapadopoulos in #2541
    Add tweek(s)->tweak(s) correction by @cfi-gb in #2804
    Add supoort->support by @thughes in #2806
    Add Suggestion For readded Mispelling by @Casey-Kiewit in #2805
    Add displaing->displaying by @peternewman in #2808
    Another suggestion for stati by @gforcada in #2810
    Add dimaond -> diamond by @Moiman in #2813
    Add vai->via, vie by @peternewman in #2815
    Remove invalid correction - Kwanza = currency of Angola by \ 
@DimitriPapadopoulos in #2803
    sinoid and friends by @DimitriPapadopoulos in #2807
    Add excludle->exclude by @peternewman in #2814
    Add gadjet->gadget and friend by @peternewman in #2818
    Add togueter->together by @luzpaz in #2821
    Add "mutabl->mutable" by @sirosen in #2822
    Add containin->containing by @janosh in #2824
    Add mandess->madness by @luzpaz in #2825
    some fixes by @marksmayo in #2820
    Fix new ruff errors reported by CI by @DimitriPapadopoulos in #2834
    Add fusipn->fusion by @luzpaz in #2836
    Add 'subcription->subscription' by @sirosen in #2832
    Add 'promtp->prompt' by @sirosen in #2833
    Add 'endpdoint' as a misspelling of 'endpoint' by @sirosen in #2830
    Add more misspellings of 'identities' by @sirosen in #2829
    Friends of existing typos by @DimitriPapadopoulos in #2837
    Fix 66ec667 by @DimitriPapadopoulos in #2838
    equivallent and friends by @DimitriPapadopoulos in #2827
    Add delpoys->deploys by @luzpaz in #2842
    Added variations on 'difference' by @luzpaz in #2841
    Add 'canoncical->canonical' by @sirosen in #2831
    Add additional typos by @kianmeng in #2835
    Add spelling corrections for inject and variants. by @cfi-gb in #2846
    Add 'credentail->credential' by @sirosen in #2844
    Add 'requestor->requester' by @sirosen in #2845
    Update README.rst by @andyholmes in #2466
    Add exrension(s)->extension(s) by @luzpaz in #2847
    Add facttory->factory and facttories-> factories by @nils-van-zuijlen \ 
in #2848
    Add several spelling corrections by @luzpaz in #2849
    Add comtaining->containing by @nils-van-zuijlen in #2855
    topoplogical and friends by @DimitriPapadopoulos in #2854
    Add placehoulder->placeholder by @sirosen in #2856
    More typos from GlobalProtect-openconnect by @DimitriPapadopoulos in #2850
    Add spelling correction for siver->silver/sliver/diver by @cfi-gb in #2858
    Add assertino->assertion by @sourcefrog in #2859
    add notority->notoriety by @EdwardBetts in #2861
    Misspellings from eLabFTW by @DimitriPapadopoulos in #2863
    Add invirant{,s}->invariant{,s} by @ojeda in #2870
    Add alloccat*->allocat* by @ojeda in #2869
    Add "multiply"/"multiplies" variations to instances of \ 
"multiple" by @jdufresne in #2872
    Add strin->string and optiona->optional by @peternewman in #2817
    Add wellplate -> well plate by @claydugo in #2873
    Add afile Misspelling by @Casey-Kiewit in #2876
    Ignore 'misspellings' due to string escapes by @Zac-HD in #2875
    Add pre-poulate Misspellings by @Casey-Kiewit in #2878
   2023-03-17 17:51:34 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-codespell: updated to 2.2.4

v2.2.4
BUG: Fix bug with toml triage

v2.2.3
Misspelling of sufficient, sufficiently
insuffient->insufficient
add anayltic(s|al|ally) -> analytic(s|al|ally)
Ignore flake8 rule W503
Dead code found by vulture
Move falsy and accreting to more appropriate files
Add subtrate->substrate
Add "subtask"
Apply pyupgrade to project
{speherical,sperhical}->spherical
interepolation->interpolation
Ignore .mypy_cache folder
Fix uncaught exception on unreadable files
Add constrainst to dictionary
Add relative hidden directory and basic subdir tests
Add trignometric->trigonometric
Add virtualied->virtualized, virtualised and friends
Add several spelling corrections
Slightly simplify some boolean expressions
MAINT: Add CODEOWNERS
positivie->positive
DOC/ENH: Clarify usage or configuration files and log about it
Document required setuptools version
Redundant wheel dependency in pyproject.toml
Remove parameterizes->parametrizes
Replace codecs.open with open
Update subprocess usage to use modern subprocess.run()
Fix produce typo
Add a few corrections
Migrate pytest config into pyproject.toml
Handle bad globs passed to if --skip/-S
Isn't the mailing list obsolete?
More CODEOWNERS
Remove unused attribute Misspelling.fixword
Read config file without interpolation
Add andriod->android and friends
Add total type GB to US
Catch all cases of missing pytest
Fix typo in README pin → pip
Keep GitHub Actions up to date with Dependabot
decelaration could be deceleration
Add isort to project
Fix Deepsource issues
Replace list()/dict() with literals
Use major version @v1 of isort GitHub Action
Add a spelling correction
Remove obsolete Python 2 workaround
Add misspelling of Kafka
Add testing and document support for Python 3.11
Add type annotations to the project and use mypy
Add a few spelling corrections
Add several spelling corrections
quation->equation
Document support for Python versions in pyproject.toml
Use black to format Python files
Move "upto" to code dictionary
Move sudo-like command name "doas" to code dictionary
enthapl(ies|y)->enthalp(ies|y)
Add componoent(s)->component(s)
Move "spawnve" to code dictionary
Move "MSDOS" to code dictionary
Added informal words
Improve format of CC BY-SA 3.0 license link
{assymthotic, assymtotic}->asymptotic
Simplify some file reading in tests by opening in text mode
Remove setup.py
Normalize code block indicators in README
PEP 517
Add spelling correction for 'alhpa'
Move Windows CI from AppVeyor to GitHub Actions
Add "token" as alternative for "toke"
Add spelling corrections for version.
feat: Add cataalogue->catalogue to dictionary
Add several spelling corrections found in personal projects
Add several words for en-GB to en-US
Add fixes from misspell-fixer's safe.1.dict
Prefer "converter" to "convertor"
Add pre-commit configuration
pre-commit: check toml, rst, yml and .in files
centriod->centroid
Add operatin->operation, operating, correction.
README: Document how to use pre-commit
README: document simplest usage pattern
Prefer HTTPS to HTTP in URLs
Flush stdout when asking word fix
Correct "3rt" to "3rd"
   2022-11-29 22:05:08 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-codespell: updated to 2.2.2

v2.2.2

What's Changed

MAINT: Bump to dev
Capitalize LessTif
Add several spelling corrections
aexs->axes
MAINT: Add tests as submodule
diffues->diffuse, defuse,
conviencece->convenience
htose->those, these,
Add several spelling corrections
move ro to code dictionary
Add ascconciated->associated
Fix various spelling corrections
Add several spelling corrections
Add sorkflow->workflow
Add spelling corrections for install and variants.
Capitalize all suggested fixes
Add several spelling corrections and refinements
Add knowladge->knowledge
Add several spelling corrections
Change "circularly" to "circulary".
Use grep -E instead of egrep
move warmup to code dictionary
downoload->download and friends
Add some alternative line endings and whitespace checks
occulusion->occlusion
Add another suggestion for relected
add dependendenc(y|ies)->dependenc(y|ies)
Add application(s) spelling corrections.
Add spelling correction for place
Add spelling correction
'analyses' is the plural of 'analysis'
Add spelling corrections for dictionar(y|ies)
Add spelling correction for export
Fix 2055: Add support for PEP 518
Add regresison->regression
DOC: Better docs
Fix build_exclude_hashes fails: UnicodeDecodeError: 'charmap' codec can't decode \ 
byte 0x81 in position 2244: character maps to
Add alternative for 'bu'
Add alternative for 'tooo'
Fix uncaught exception on empty files
Add combintaion(s)->combination(s)
MAINT: Use pyproject and setuptools_scm
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS