1 Commits

Author SHA256 Message Date
db6eb6618b Sync changes to SLFO-1.2 branch 2025-08-20 09:08:33 +02:00
5 changed files with 31 additions and 450 deletions

BIN
codespell-2.2.4.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:299fcdcb09d23e81e35a671bbe746d5ad7e8385972e65dbb833a2eaac33c01e5
size 344740

View File

@@ -1,446 +1,9 @@
-------------------------------------------------------------------
Sun Feb 2 11:06:36 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.4.1
* Revert hep->heap, help, in dictionary_rare.txt
-------------------------------------------------------------------
Tue Jan 21 19:07:02 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.4.0
* Add equipmnet->equipment.
* Additional en-GB → en-US entries.
* Consistent error messages.
* Add 'driven' as 'drivin' variant.
* Add reusing misspelling and variants.
* Add typos found in Emacs and elsewhere.
* Add typos found in GNU Guile.
* Add corrections from Aspell.
* Add entries to dictionary_informal.txt.
* Add rare typo lien->line.
* Add rare typo firs->first.
* Add rare typo hep->heap.
* Add rare typo brunch->branch.
* Add corrections from typos dictionary (A1).
* Add timestmp->timestamp and its variations.
* Only accept documented choices after -i and -q
* Add some typos from Emacs.
* Add corrections from typos dictionary (A2).
* Add variations for words starting with non-.
* Update "Using a config file" README entry.
* Add two choices for verision typo fix.
* Add trusthworth(y|iness)->trustworth(y|iness) correction.
* Add thrustworth(y|iness)->trustworth(y|iness).
* add enrol->enroll to en-GB to en-US dictionary.
* Add --ignore-multiline-regex option.
* Add spelling correction for separately.
* Start testing with Python 3.13.
* Add enterpris->enterprise spelling correction.
* Add spelling correction for proir and variant.
* fix issue #3220: interactive model & write-changes.
* Add "releaseds->released, releases,".
* Add favilitate->facilitate and its variations.
* Add seemd -> seemed.
* feat: add typo spelling for capabilities.
* entirerly -> entirely.
* Add stuty -> study and variations.
* readibly->readably.
* Add clapse->collapse to dictionary.txt.
* fix(rare): remove loath->loathe, as loath is as common as
loathe.
* Add variations of 'symetriy' typo.
* Add distriute->distribute (and variations) to dictionary.txt.
* Some extra spelling suggestions for the dictionnary
(aumatically, ...).
* Move hom to code dictionary.
* Add realtd->related, prediced->predicted.
* Handle CTRL+C by showing a better message.
* Move crate->create to code dictionary.
* Add cirumvent -> circumvent.
* More typos found in numpy.
* Add spelling correction for appliance and variants.
* Add spelling corrections for remote and variants.
* Add spelling correction for revert and variants.
* workdlow->workflow.
* More typos found in Scipy.
* Update ruff settings.
* Improve config file documentation in README.
* Support Python 3.13.
* feat: add typo for override and overridden.
* feat: add strring entry for string and stirring.
* Add spelling correction for credential and variant.
* Typo from filesystem_spec.
* Add zarr as a fix for zar.
* acceleratored->accelerated.
* Add correction for seens->seems, seen, scenes.
* Add generaml->general spelling correction.
* Add forach->foreach, orach, spelling correction.
* Add spelling correction for leadin.
* Add pauload->payload and friend.
* These typos do not belong to code, do they?.
* Add spelling correction for "agos".
* If writeable is OK, so is overwriteable.
* Add atfer->after and variations.
* Add poduce->produce and friends.
* Add variations for correction: reurn->return.
* Add spelling correction for various variants of everything.
* Add "sems->seems, stems, semis, sens, seams," correction.
* Add replacements for complasance and complisance.
* Add typos found in software projects.
* Add distinghish->distinguish and variations.
* docs: typo in an example.
* Add typos found in various software projects.
* Add spelling correction for denila and variant.
* Remove socioeconomic entries.
-------------------------------------------------------------------
Fri Nov 22 10:44:02 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.3.0:
* Add schematrion->schematron
* Add explicit Python 3.12 support
* Add miscellaneous typos
* Add more labour* variants
* Return exit status in __main__.py
* Fix ruff alerts (currently) not caught by pre-commit
* Added new word
* Add Gelma's typos that start with "a"
* Add Gelma's typos from "b" to "cl"
* Add Gelma's typos from "co" to "cy"
* Add Gelma's typos that start with "d"
* Add Gelma's typos that start with "e"
* Add Gelma's typos from "f" to "h"
* Add entries to rare dictionary
* Add Gelma's typos that start with "i"
* diagional -> diagonal
* Add Gelma's typos from "j" to "m"
* Add Gelma's typos from "n" to "o"
* Add corrections for vulnerbailit(y|ies)->vulnerabilit(y|ies).
* Add Gelma's typos that start with "p"
* Add Gelma's typos from "q" to "r"
* openign->opening
* Add Gelma's typos that start with "s"
* Add Gelma's typos from "t" to "z"
* Improve existing suggestions
* Add a timeout to jobs that may benefit from it
* don't show stacktrace from KeyboardInterrupt #3217
* Adding 'hareware' to spelling corrections.
* Add typos for knownledge->knowledge, analyzis->analysis and
compialtion->compilation
* Add --stdin-single-line option
* Add spelling corrections for parameters
* Ignore line endings in exclude-file
* Add typo offsers
* add velcoity -> velocity
* ot is a typo also for it, which i is close to o
* test: remove warning when aspell is not installed
* Add carrets->carets
* Add support for ANSI colors on Windows
* Add prettier to pre-commit
* Apply Repo-Review suggestions
* dictionary: pathes can be patches
* fix: typos in comments
* doc: Specify .codespellrc is INI formatted
* Add sanetize->sanitize
* sampe->sample
* Assorted mispellings
* Add corrections for all *in->*ing words starting with "A"
* Add corrections for all *in->*ing words starting with "B"
* Add corrections for all *in->*ing words starting with "C"
* Add corrections for all *in->*ing words starting with "D"
* Add corrections for all *in->*ing words starting with "E"
* Add corrections for all *in->*ing words starting with "F"
* Add correction for spoofing and spoofed.
* Add reliabe->reliable
* Add corrections for all *in->*ing words starting with "G"
* Add corrections for all *in->*ing words starting with "H"
* Add corrections for all *in->*ing words starting with "I"
* Add corrections for all *in->*ing words starting with "J"
* Add corrections for all *in->*ing words starting with "K"
* Add corrections for all *in->*ing words starting with "L"
* Add corrections for all *in->*ing words starting with "M"
* Add corrections for all *in->*ing words starting with "N"
* Add corrections for all *in->*ing words starting with "O"
* Add corrections for all *in->*ing words starting with "R"
* Add corrections for all *in->*ing words starting with "S"
* Add corrections for all *in->*ing words starting with "P"
* Add corrections for all *in->*ing words starting with "Q"
* Add corrections for all *in->*ing words starting with "T"
* Add corrections for all *in->*ing words starting with "U"
* Add corrections for all *in->*ing words starting with "V"
* Add corrections for all *in->*ing words starting with "W"
* Add corrections for all *in->*ing words starting with "Y"
* Add corrections for all *in->*ing words starting with "Z"
* Add 'quotted->quoted'
- drop patch_version.patch: obsolete, use pypi tarball instead
-------------------------------------------------------------------
Mon Feb 26 11:00:25 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %autosetup macro. Allows to eliminate the usage of deprecated
PatchN.
-------------------------------------------------------------------
Tue Oct 3 06:35:51 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 2.2.6:
* Test to check our string escape word triggers on its own #2879
* feat(dictionary): add additiional additional entry #2882
* Add currebtly Misspelling #2881
* Add more typos for "approximate" #2884
* Add new typos for "load" #2885
* Add typos for "accommodate" #2886
* Add spelling correction for 'prodive' #2889
* Add annhilate Mispelling #2891
* Add alternative spelling corrections for "merget" #2890
* Add various typos #2887
* Add suffixes to existing typos #2895
* Add twine As Dev Dependency #2901
* frustrum->frustum #2899
* Add several spelling corrections #2900
* Add suffixes to existing typos, part 2 #2902
* Add iamges->images and cannel variants #2893
* Add all corrections in #2857 #2898
* Add suffixes to typos that start with "a" #2905
* Add suffixes to typos from "b" to "ch" #2906
* Add suffixes to typos from "cop" to "cy" #2911
* Add spelling corrections for upperace and lowerace. #2909
* Add suffixes to typos from "ci" to "con" #2907
* Add variations of 'check' #2904
* Add suffixes to typos that start with "de" #2913
* Add suffixes to typos from "di" to "dy" #2914
* Add suffixes to typos that start with "e" #2915
* Add some spelling corrections #2918
* Add suffixes to typos that start with "f" #2916
* Add typos for "general", "generate", "generic" #2919
* Move dateset to code #2917
* Add correction for "distict" #2910
* Add several spelling corrections #2908
* Add new suggestions for existing typos #2921
* Add suffixes to typos that start with "g" or "h" #2922
* Dev Container #2903
* Add postifx->postfix to code dictionary #2927
* Add openes->opens, openness, to dictionary #2930
* Add suffixes to typos from "ib" to "im" #2924
* Add indepentend->independent #2892
* Add several spelling corrections #2926
* feat: Add collogue->colleague to dictionary #2923
* Typos from OpenSSL 3.0 #2883
* Add suffixes to typos from "ip" to "k" #2931
* Add suffixes to typos that start with "in" #2925
* Add typos discovered in django/deps repository #2932
* Add some archaic terms for Muslim to dictionary #2610
* Add words from misspell's dictionary (A-1) #2748
* Add suffixes to typos that start with "l" #2936
* Add typo fix: reacord->record #2941
* Add suffixes to typos that start with "m" #2937
* Add suffixes to typos that start with "n" #2939
* Add suffixes to typos that start with "o" #2940
* Improve existing suggestions #2943
* Add vulnerabily->vulnerably, vulnerability, spelling correction. #2946
* Add suffixes to typos from "pa" to "pl" #2944
* Add suffixes to typos from "po" to "pu" #2945
* Allow words missing from aspell dictionaries #2933
* Add journalling->journaling to GB->EN dict #2371
* Use large aspell dictionaries #2947
* Add suffixes to typos from "q" to "red" #2948
* Add suffixes to typos from "ref" to "rep" #2949
* Add suffixes to typos from "req" to "ry" #2950
* Add suffixes to typos from "sa" to "se" #2951
* Add suffixes to typos from "sh" to "sp" #2952
* Add suffixes to typos from "sr" to "st" #2953
* Remove a branch from main() to pass Ruff CI check. #2962
* Add suffixes to typos from "su" to "sz" #2954
* Dictionary fixes #2935
* Add Pre-Commit as a dev dependency #2959
* Drop support for Python 3.7 #2964
* Fix pre-commit issues #2967
* Add suffixes to typos that start with "t" #2965
* Add suffixes to typos that start with "u" #2966
* Add suffixes to typos that start with "v" #2970
* Add suffixes to typos from "w" to "z" #2971
* Add some new misspellings #2972
* Add spelling corrections for defaoult and variants. #2975
* Fix the name of the extra word lists we load #2976
* Add suffixes to typos from "aa" to "acc" #2974
* Add suffixes to typos from "ace" to "ad" #2987
* Add suffixes to typos from "af" to "al" #2988
* Dictionary fixes #2980
* Add suffixes to typos from "am" to "an" #2989
* Use pre-commit to sort the dictionaries #2973
* Simpler dictionary parsing #2986
* [pre-commit.ci] pre-commit autoupdate #2993
* Add suffixes to typos that start with "ap" #2991
* Half dozen new cases in dictionary.txt #2994
* Add suffixes to typos that start with "ar" #2992
* Add suffixes to typos that start with "as" #2997
* Add suffixes to typos from "at" to "ay" #2998
* Add suffixes to typos from "ba" to "be" #2999
* Add preperint typo #2978
* Add some typos found in a large documentation repo #3001
* Add suffixes to typos from "bi" to "bu" #3002
* Add suffixes to typos that start with "ca" #3003
* Add some misspellings and refinements #3004
* Add typo variations of background(s) #3006
* Add more typos for "check" and similar #3005
* ...ter → ...tor #2990
* Add suffixes to typos from "ce" to "ci" #3008
* Remove the grave accent (`) from the default word regex #2983
* Add typo variations for 'enble'->'enable' to main dictionary #3010
* [pre-commit.ci] pre-commit autoupdate #3011
* Add suffixes to typos from "cl" to "col" #3009
* Generate alternative typos with a translation table #2985
* Remove redundant linting CI workflows handled #2969
* Fix ruff lint error #3015
* Add suffixes to typos that start with "com" #3012
* Add spelling correction for information and variant. #3018
* Replace local and CI workflow #3020
* Add fram->frame and friend #3016
* Add typo variations of 'dispatch' #3007
* Add more typos for "configure" and similar #3013
* Add suffixes to typos from "cona" to "conr" #3023
* Add suffixes to typos from "cons" to "conv" #3025
* Add more typos for "correspond" and similar #3026
* Adding articifial to artificial to dictionary.txt #3024
* Move the valid word implementor in rare dictionary #3030
* Typos from tcpdump and libpcap #3031
* [pre-commit.ci] pre-commit autoupdate #3033
* Add suffixes to typos from "coo" to "coy" #3029
* Add suffixes to typos from "cp" to "cy" #3032
* Add suffixes to typos from "dc" to "den" #3034
* Add suffixes to typos from "dep" to "der" #3036
* [pre-commit.ci] fix new ruff issue #3042
* Add suffixes to typos from "des" to "dev" #3039
* Add suffixes to typos that start with "di" #3040
* Add suffixes to typos from "do" to "dy" #3043
* Add suffixes to typos from "ea" to "en" #3048
* Add suffixes to typos from "ep" to "exe" #3049
* Add suffixes to typos from "exi" to "exu" #3050
* [pre-commit.ci] pre-commit autoupdate #3045
* Update dictionary.txt #3035
* [pre-commit.ci] pre-commit autoupdate #3051
* Add suffixes to typos that start with "f" #3052
* Add suffixes to typos from "g" to "h" #3053
* Additions to dictionary.txt #3054
* Modify structure of dict read from TOML to match dict read from INI #3046
* Add suffixes to typos from "id" to "inh" #3055
* Add more typos for "initialize" and similar #3056
* Add suffixes to typos from "ini" to "it" #3059
* Add suffixes to typos from "j" to "l" #3060
* Add refinement to 'draing' typo #3062
* Add suffixes to typos from "ma" to "me" #3063
* Add suffixes to typos from "mi" to "mu" #3064
* Add more variations of "except" and "exempt" #3057
* [pre-commit.ci] pre-commit autoupdate #3065
* Bump actions/checkout from 3 to 4 #3066
* Add spelling correction for "exis". #3067
* Add followiing->following #3070
* Add suffixes to typos that start with "n" #3068
* Add suffixes to typos that start with "o" #3069
* [pre-commit.ci] pre-commit autoupdate #3074
* Add suffixes to typos that start with "pa" #3071
* Add suffixes to typos from "pe" to "po" #3073
* Get rid of typos with apostrophe replaced #3022
* Add suffixes to typos from "pr" to "pu" #3075
* Add handlong->handling #3076
* Bump codecov/codecov-action from 3 to 4 #3078
* Add suffixes to typos from "q" to "rec" #3077
* Revert b397a6e / #3078 #3080
* Add various typos #3079
* Add suffixes to typos from "red" to "rep" #3081
* Add suffixes to typos from "req" to "ru" #3083
* Dictionary additions #3082
* [pre-commit.ci] pre-commit autoupdate #3085
* Add suffixes to typos from "sa" to "se" #3084
* Add correction for havne't->haven't #3089
* Add suffixes to typos from "sh" to "so" #3086
* Add suffixes to typos from "sp" to "st" #3087
* Add suffixes to typos from "su" to "sy" #3090
* Add suffixes to typos from "ta" to "th" #3092
* [pre-commit.ci] pre-commit autoupdate #3097
* Add suffixes to typos from "ti" to "ty" #3094
* Add suffixes to typos that start with "u" #3095
* Add suffixes to typos from "v" to "z" #3096
* many new typos from different repositories #3021
* fixing setuptool_scm dependency because the latest version is broken #3100
* More typos #3101
* Use f-strings wherever possible #3102
-------------------------------------------------------------------
Fri Jun 23 10:26:24 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 2.2.5:
* Add fixing consciousely typo #2777
* atalog typo (saw twice in a project) #2782
* created fstrings #2784
* Replace bandit, isort, pylint, pyupgrade, and flake8 plus plugins with ruff #2779
* Add Microsoft Mispelling Kiewit in #2789
* Use Latest Version In README Pre-Commit Example Kiewit in #2788
* ruff: Use format specifiers instead of percent format #2787
* New typos #2793
* Ruff: Ignore new rule PLC1901 #2797
* Add various typo fixes #2795
* Another suggestion #2798
* Fix AssertionError when opening with chardet thumann in #2785
* Fix typo (and variants) from xxHash #2761
* Add huld->hold Spelling Mistake Kiewit in #2792
* Fix CI issues #2796
* CI: fix new ruff error B028 #2802
* Skip subdirectories of hidden directories #2541
* Add tweek(s)->tweak(s) correction gb in #2804
* Add supoort->support #2806
* Add Suggestion For readded Mispelling Kiewit in #2805
* Add displaing->displaying #2808
* Another suggestion for stati #2810
* Add dimaond -> diamond #2813
* Add vai->via, vie #2815
* Remove invalid correction - Kwanza = currency of Angola #2803
* sinoid and friends #2807
* Add excludle->exclude #2814
* Add gadjet->gadget and friend #2818
* Add togueter->together #2821
* Add "mutabl->mutable" #2822
* Add containin->containing #2824
* Add mandess->madness #2825
* some fixes #2820
* Fix new ruff errors reported DimitriPapadopoulos in #2834
* Add fusipn->fusion #2836
* Add 'subcription->subscription' #2832
* Add 'promtp->prompt' #2833
* Add 'endpdoint' as a misspelling of 'endpoint' #2830
* Add more misspellings of 'identities' #2829
* Friends of existing typos #2837
* Fix 66ec667 #2838
* equivallent and friends #2827
* Add delpoys->deploys #2842
* Added variations on 'difference' #2841
* Add 'canoncical->canonical' #2831
* Add additional typos #2835
* Add spelling corrections for inject and variants. gb in #2846
* Add 'credentail->credential' #2844
* Add 'requestor->requester' #2845
* Update README.rst #2466
* Add exrension(s)->extension(s) #2847
* Add facttory->factory and facttories-> factories van-zuijlen in #2848
* Add several spelling corrections #2849
* Add comtaining->containing #2855
* topoplogical and friends #2854
* Add placehoulder->placeholder #2856
* More typos from GlobalProtect-openconnect #2850
* Add spelling correction for siver->silver/sliver/diver #2858
* Add assertino->assertion #2859
* add notority->notoriety #2861
* Misspellings from eLabFTW #2863
* Add invirant{,s}->invariant{,s} #2870
* Add alloccat*->allocat* #2869
* Add "multiply"/"multiplies" variations to instances of "multiple" #2872
* Add strin->string and optiona->optional #2817
* Add wellplate -> well plate #2873
* Add afile Misspelling #2876
* Ignore 'misspellings' due to string escapes #2875
* Add pre-poulate Misspellings #2878
- Update patch_version.patch
-------------------------------------------------------------------
Mon May 22 09:53:07 UTC 2023 - Jiri Srain <jsrain@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package codespell
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,21 +18,21 @@
%define pythons python3
Name: codespell
Version: 2.4.1
Version: 2.2.4
Release: 0
Summary: Source code checker for common misspellings
License: GPL-2.0-only
Group: Development/Tools/Other
URL: https://github.com/codespell-project/codespell/
Source0: https://files.pythonhosted.org/packages/source/c/codespell/codespell-%{version}.tar.gz
Source0: https://github.com/codespell-project/codespell/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE - patch_version.patch
Patch0: patch_version.patch
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-chardet
BuildRequires: python3-pip
BuildRequires: python3-pytest
BuildRequires: python3-pytest-dependency
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-wheel
Requires: python3-chardet
Requires: python3-setuptools
@@ -51,20 +51,20 @@ sed -i '/\-cov/ d' pyproject.toml
%build
%pyproject_wheel
%install
%pyproject_install
%fdupes %{buildroot}%{python3_sitelib}
%check
# disable command test; does not work in chroot
export PATH=$PATH:%{buildroot}%{_bindir}
%pytest -k 'not test_command'
%install
%pyproject_install
%fdupes %{buildroot}%{python3_sitelib}
%files
%license COPYING
%doc README.rst
%{_bindir}/codespell
%{python3_sitelib}/codespell_lib
%{python3_sitelib}/codespell-%{version}.dist-info
%{python3_sitelib}/%{name}-%{version}.dist-info
%changelog

18
patch_version.patch Normal file
View File

@@ -0,0 +1,18 @@
--- /dev/null 2023-03-19 01:06:39.022534621 +0100
+++ b/codespell_lib/_version.py 2023-03-22 11:48:11.307549334 +0100
@@ -0,0 +1,4 @@
+# file generated by setuptools_scm
+# don't change, don't track in version control
+__version__ = version = '2.2.4'
+__version_tuple__ = version_tuple = (2, 2, 4)
--- a/pyproject.toml 2023-03-22 10:50:42.939917750 +0000
+++ b/pyproject.toml 2023-03-22 10:53:54.345431869 +0000
@@ -28,7 +28,7 @@
"Programming Language :: Python :: 3.11",
]
dependencies = []
-dynamic = ["version"]
+version = "2.2.4"
[project.optional-dependencies]
dev = [