Renovate Bot
c4d8f62673
Update dependency codespell to v2.4.0 (forgejo) ( #6652 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [codespell](https://github.com/codespell-project/codespell ) | dev | minor | `2.3.0` -> `2.4.0` |
---
### Release Notes
<details>
<summary>codespell-project/codespell (codespell)</summary>
### [`v2.4.0`](https://github.com/codespell-project/codespell/releases/tag/v2.4.0 )
[Compare Source](https://github.com/codespell-project/codespell/compare/v2.3.0...v2.4.0 )
<!-- Release notes generated using configuration in .github/release.yml at main -->
#### What's Changed
- Exclude bots from generated release notes by [@​hugovk](https://github.com/hugovk ) in https://github.com/codespell-project/codespell/pull/3432
- Refactor: Move some code to new files for reuse by [@​nthykier](https://github.com/nthykier ) in https://github.com/codespell-project/codespell/pull/3434
- Add `equipmnet->equipment` by [@​korverdev](https://github.com/korverdev ) in https://github.com/codespell-project/codespell/pull/3438
- Set better project description by [@​mtelka](https://github.com/mtelka ) in https://github.com/codespell-project/codespell/pull/3435
- Additional en-GB → en-US entries by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3058
- Consistent error messages by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3440
- Add 'driven' as 'drivin' variant by [@​korverdev](https://github.com/korverdev ) in https://github.com/codespell-project/codespell/pull/3441
- More typos by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3439
- Add reusing misspelling and variants by [@​korverdev](https://github.com/korverdev ) in https://github.com/codespell-project/codespell/pull/3445
- Add typos found in Emacs and elsewhere by [@​skangas](https://github.com/skangas ) in https://github.com/codespell-project/codespell/pull/3447
- MAINT: Fix codecov by [@​larsoner](https://github.com/larsoner ) in https://github.com/codespell-project/codespell/pull/3451
- Add typos found in GNU Guile by [@​skangas](https://github.com/skangas ) in https://github.com/codespell-project/codespell/pull/3448
- Add corrections from Aspell (fix [#​3356](https://github.com/codespell-project/codespell/issues/3356 )) by [@​skangas](https://github.com/skangas ) in https://github.com/codespell-project/codespell/pull/3453
- Add entries to dictionary_informal.txt by [@​skangas](https://github.com/skangas ) in https://github.com/codespell-project/codespell/pull/3456
- Add rare typo `lien->line` by [@​skangas](https://github.com/skangas ) in https://github.com/codespell-project/codespell/pull/3460
- Add rare typo `firs->first` by [@​skangas](https://github.com/skangas ) in https://github.com/codespell-project/codespell/pull/3459
- Add rare typo `hep->heap, help,` by [@​skangas](https://github.com/skangas ) in https://github.com/codespell-project/codespell/pull/3461
- Add rare typo `brunch->branch` by [@​skangas](https://github.com/skangas ) in https://github.com/codespell-project/codespell/pull/3458
- Add corrections from `typos` dictionary (A1) by [@​skangas](https://github.com/skangas ) in https://github.com/codespell-project/codespell/pull/3450
- Add timestmp->timestamp and its variations by [@​fkmy](https://github.com/fkmy ) in https://github.com/codespell-project/codespell/pull/3464
- Add .venv to .gitignore by [@​skangas](https://github.com/skangas ) in https://github.com/codespell-project/codespell/pull/3466
- Only accept documented choices after `-i` and `-q` by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3344
- Move assertIn to the code dictionary as it's a Python test function by [@​peternewman](https://github.com/peternewman ) in https://github.com/codespell-project/codespell/pull/3469
- Add some more typos by [@​skangas](https://github.com/skangas ) in https://github.com/codespell-project/codespell/pull/3468
- Add some typos from Emacs by [@​skangas](https://github.com/skangas ) in https://github.com/codespell-project/codespell/pull/3471
- Add corrections from `typos` dictionary (A2) by [@​skangas](https://github.com/skangas ) in https://github.com/codespell-project/codespell/pull/3454
- Add variations for words starting with `non-` by [@​skangas](https://github.com/skangas ) in https://github.com/codespell-project/codespell/pull/3467
- Update "Using a config file" README entry by [@​oddhack](https://github.com/oddhack ) in https://github.com/codespell-project/codespell/pull/3478
- Add two choices for verision typo fix by [@​yarikoptic](https://github.com/yarikoptic ) in https://github.com/codespell-project/codespell/pull/3252
- fix typo by [@​spaette](https://github.com/spaette ) in https://github.com/codespell-project/codespell/pull/3479
- \[pre-commit.ci] pre-commit manual update (ruff 0.5.0) by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3481
- Add trusthworth(y|iness)->trustworth(y|iness) correction. by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3482
- Add thrustworth(y|iness)->trustworth(y|iness). by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3483
- New typos by [@​gforcada](https://github.com/gforcada ) in https://github.com/codespell-project/codespell/pull/3484
- add enrol->enroll to en-GB to en-US dictionary by [@​slitvackwinkler](https://github.com/slitvackwinkler ) in https://github.com/codespell-project/codespell/pull/3485
- Add --ignore-multiline-regex option. by [@​julian-smith-artifex-com](https://github.com/julian-smith-artifex-com ) in https://github.com/codespell-project/codespell/pull/3476
- Add spelling correction for separately. by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3487
- Start testing with Python 3.13 by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3488
- Missing typo in dictionary by [@​matlupi](https://github.com/matlupi ) in https://github.com/codespell-project/codespell/pull/3497
- Add enterpris->enterprise spelling correction. by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3498
- Add spelling correction for proir and variant. by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3499
- fix issue [#​3220](https://github.com/codespell-project/codespell/issues/3220 ): interactive model & write-changes by [@​MercuryDemo](https://github.com/MercuryDemo ) in https://github.com/codespell-project/codespell/pull/3340
- infastructure typo (15.6k hits on github) by [@​yarikoptic](https://github.com/yarikoptic ) in https://github.com/codespell-project/codespell/pull/3501
- Add several spelling corrections by [@​luzpaz](https://github.com/luzpaz ) in https://github.com/codespell-project/codespell/pull/3500
- Add "releaseds->released, releases," spelling correction by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3503
- Several spelling suggestions by [@​mdeweerd](https://github.com/mdeweerd ) in https://github.com/codespell-project/codespell/pull/3504
- Add favilitate->facilitate and its variations by [@​luzpaz](https://github.com/luzpaz ) in https://github.com/codespell-project/codespell/pull/3505
- Add seemd -> seemed by [@​fishilico](https://github.com/fishilico ) in https://github.com/codespell-project/codespell/pull/3508
- feat: add typo spelling for capabilities by [@​IndexSeek](https://github.com/IndexSeek ) in https://github.com/codespell-project/codespell/pull/3507
- entirerly -> entirely by [@​matlupi](https://github.com/matlupi ) in https://github.com/codespell-project/codespell/pull/3512
- Add stuty -> study and variations by [@​fishilico](https://github.com/fishilico ) in https://github.com/codespell-project/codespell/pull/3514
- readibly->readably by [@​claydugo](https://github.com/claydugo ) in https://github.com/codespell-project/codespell/pull/3518
- Add clapse->collapse to dictionary.txt by [@​Runtemund](https://github.com/Runtemund ) in https://github.com/codespell-project/codespell/pull/3513
- fix(rare): remove loath->loathe, as loath is as common as loathe by [@​corneliusroemer](https://github.com/corneliusroemer ) in https://github.com/codespell-project/codespell/pull/3523
- Add variations of 'symetriy' typo by [@​luzpaz](https://github.com/luzpaz ) in https://github.com/codespell-project/codespell/pull/3528
- Add distriute->distribute (and variations) to dictionary.txt by [@​corneliusroemer](https://github.com/corneliusroemer ) in https://github.com/codespell-project/codespell/pull/3517
- Some extra spelling suggestions for the dictionnary (aumatically, ...) by [@​mdeweerd](https://github.com/mdeweerd ) in https://github.com/codespell-project/codespell/pull/3516
- More typos by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3465
- Add a spelling correction by [@​fxlb](https://github.com/fxlb ) in https://github.com/codespell-project/codespell/pull/3533
- Move `hom` to code dictionary by [@​skangas](https://github.com/skangas ) in https://github.com/codespell-project/codespell/pull/3490
- Add `realtd->related`, `prediced->predicted` by [@​janosh](https://github.com/janosh ) in https://github.com/codespell-project/codespell/pull/3536
- Handle CTRL+C by showing a better message by [@​mwtoews](https://github.com/mwtoews ) in https://github.com/codespell-project/codespell/pull/3511
- Move crate->create to code dictionary by [@​luzpaz](https://github.com/luzpaz ) in https://github.com/codespell-project/codespell/pull/3537
- More typos by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3535
- Add cirumvent -> circumvent suggestion by [@​algonell](https://github.com/algonell ) in https://github.com/codespell-project/codespell/pull/3540
- More typos found in numpy by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3541
- Add spelling correction for appliance and variants. by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3544
- Workaround for Python issue by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3546
- Partially undo [`293bec1`](https://github.com/codespell-project/codespell/commit/293bec1 ) / [#​3465](https://github.com/codespell-project/codespell/issues/3465 ) by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3548
- master → main by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3555
- Add a spelling correction by [@​fxlb](https://github.com/fxlb ) in https://github.com/codespell-project/codespell/pull/3552
- Add spelling corrections for remote and variants. by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3551
- Add spelling correction for revert and variants. by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3553
- workdlow->workflow by [@​peterjc](https://github.com/peterjc ) in https://github.com/codespell-project/codespell/pull/3556
- More typos found in Scipy by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3547
- Update ruff settings by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3558
- Improve config file documentation in README by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3495
- Support Python 3.13 by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3560
- feat: add typo for override and overridden by [@​IndexSeek](https://github.com/IndexSeek ) in https://github.com/codespell-project/codespell/pull/3564
- feat: add strring entry for string and stirring by [@​IndexSeek](https://github.com/IndexSeek ) in https://github.com/codespell-project/codespell/pull/3565
- Add spelling correction for credential and variant. by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3567
- Typo from filesystem_spec by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3559
- Add zarr as a fix for zar. by [@​yarikoptic](https://github.com/yarikoptic ) in https://github.com/codespell-project/codespell/pull/3568
- Add multiple spellings by [@​mdeweerd](https://github.com/mdeweerd ) in https://github.com/codespell-project/codespell/pull/3569
- acceleratored->accelerated by [@​SpookyYomo](https://github.com/SpookyYomo ) in https://github.com/codespell-project/codespell/pull/3571
- Add correction for seens->seems, seen, scenes, by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3572
- Add generaml->general spelling correction. by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3573
- Add forach->foreach, orach, spelling correction by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3576
- Add spelling correction for leadin. by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3578
- Minor typo fix in README by [@​DanielYang59](https://github.com/DanielYang59 ) in https://github.com/codespell-project/codespell/pull/3580
- Add pauload->payload and friend by [@​peternewman](https://github.com/peternewman ) in https://github.com/codespell-project/codespell/pull/3581
- These typos do not belong to code, do they? by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3470
- Add spelling correction for "agos". by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3586
- If `writeable` is OK, so is `overwriteable` by [@​DimitriPapadopoulos](https://github.com/DimitriPapadopoulos ) in https://github.com/codespell-project/codespell/pull/3593
- Add `atfer`->`after` and variations by [@​fishilico](https://github.com/fishilico ) in https://github.com/codespell-project/codespell/pull/3598
- Add poduce->produce and friends by [@​peternewman](https://github.com/peternewman ) in https://github.com/codespell-project/codespell/pull/3599
- Add variations for correction: reurn->return by [@​jdufresne](https://github.com/jdufresne ) in https://github.com/codespell-project/codespell/pull/3600
- Add spelling correction for various variants of everything. by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3601
- Add "sems->seems, stems, semis, sens, seams," correction by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3603
- Add replacements for complasance and complisance by [@​TheGiraffe3](https://github.com/TheGiraffe3 ) in https://github.com/codespell-project/codespell/pull/3597
- Add typos found in software projects by [@​mwtoews](https://github.com/mwtoews ) in https://github.com/codespell-project/codespell/pull/3595
- Add distinghish->distinguish and variations by [@​fishilico](https://github.com/fishilico ) in https://github.com/codespell-project/codespell/pull/3604
- docs: typo in an example by [@​12rambau](https://github.com/12rambau ) in https://github.com/codespell-project/codespell/pull/3610
- Add typos found in various software projects by [@​luzpaz](https://github.com/luzpaz ) in https://github.com/codespell-project/codespell/pull/3612
- Add spelling correction for denila and variant. by [@​cfi-gb](https://github.com/cfi-gb ) in https://github.com/codespell-project/codespell/pull/3616
- Remove socioeconomic entries by [@​isaak654](https://github.com/isaak654 ) in https://github.com/codespell-project/codespell/pull/3353
- Run pytest GitHub Action on an ARM processor by [@​cclauss](https://github.com/cclauss ) in https://github.com/codespell-project/codespell/pull/3619
#### New Contributors
- [@​nthykier](https://github.com/nthykier ) made their first contribution in https://github.com/codespell-project/codespell/pull/3434
- [@​mtelka](https://github.com/mtelka ) made their first contribution in https://github.com/codespell-project/codespell/pull/3435
- [@​fkmy](https://github.com/fkmy ) made their first contribution in https://github.com/codespell-project/codespell/pull/3464
- [@​oddhack](https://github.com/oddhack ) made their first contribution in https://github.com/codespell-project/codespell/pull/3478
- [@​spaette](https://github.com/spaette ) made their first contribution in https://github.com/codespell-project/codespell/pull/3479
- [@​slitvackwinkler](https://github.com/slitvackwinkler ) made their first contribution in https://github.com/codespell-project/codespell/pull/3485
- [@​julian-smith-artifex-com](https://github.com/julian-smith-artifex-com ) made their first contribution in https://github.com/codespell-project/codespell/pull/3476
- [@​Runtemund](https://github.com/Runtemund ) made their first contribution in https://github.com/codespell-project/codespell/pull/3513
- [@​corneliusroemer](https://github.com/corneliusroemer ) made their first contribution in https://github.com/codespell-project/codespell/pull/3523
- [@​mwtoews](https://github.com/mwtoews ) made their first contribution in https://github.com/codespell-project/codespell/pull/3511
- [@​algonell](https://github.com/algonell ) made their first contribution in https://github.com/codespell-project/codespell/pull/3540
- [@​peterjc](https://github.com/peterjc ) made their first contribution in https://github.com/codespell-project/codespell/pull/3556
- [@​SpookyYomo](https://github.com/SpookyYomo ) made their first contribution in https://github.com/codespell-project/codespell/pull/3571
- [@​DanielYang59](https://github.com/DanielYang59 ) made their first contribution in https://github.com/codespell-project/codespell/pull/3580
- [@​TheGiraffe3](https://github.com/TheGiraffe3 ) made their first contribution in https://github.com/codespell-project/codespell/pull/3597
**Full Changelog**: https://github.com/codespell-project/codespell/compare/v2.3.0...v2.4.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "* 0-3 * * *" (UTC), Automerge - "* 0-3 * * *" (UTC).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDYuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNi4wIiwidGFyZ2V0QnJhbmNoIjoiZm9yZ2VqbyIsImxhYmVscyI6WyJkZXBlbmRlbmN5LXVwZ3JhZGUiLCJ0ZXN0L25vdC1uZWVkZWQiXX0=-->
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6652
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2025-01-24 05:43:51 +00:00
Renovate Bot
f9ffc91ace
Update dependency djlint to v1.36.4 (forgejo) ( #6365 )
...
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-12-25 00:37:19 +00:00
Renovate Bot
2132759889
Lock file maintenance
2024-12-23 02:04:47 +00:00
Renovate Bot
8247a8f2d0
Lock file maintenance
2024-12-04 07:44:05 +00:00
Renovate Bot
d68c99542c
Update dependency djlint to v1.36.3 (forgejo) ( #6108 )
...
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-12-01 08:33:38 +00:00
Renovate Bot
17b1282817
Lock file maintenance
2024-11-25 02:04:53 +00:00
Renovate Bot
387ed7e072
Lock file maintenance
2024-11-18 00:05:26 +00:00
Renovate Bot
329650a9b4
Update dependency djlint to v1.36.0
2024-11-06 00:03:27 +00:00
Renovate Bot
6e1c0e4cb0
Lock file maintenance (forgejo) ( #5804 )
...
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5804
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
2024-11-04 05:54:02 +00:00
Renovate Bot
847d219e8a
Update dependency djlint to v1.35.4
2024-11-02 00:03:16 +00:00
Renovate Bot
e467fe36dc
Update dependency djlint to v1.35.3
2024-10-31 00:04:20 +00:00
Renovate Bot
5beb1b56df
Lock file maintenance
2024-10-21 02:05:21 +00:00
Renovate Bot
69b01eb911
Lock file maintenance
2024-09-25 10:15:02 +02:00
Renovate Bot
f4f5efdea8
Update dependency djlint to v1.35.2
2024-08-30 02:04:02 +00:00
Renovate Bot
deb8039d53
Update dependency djlint to v1.34.2
2024-08-29 00:04:07 +00:00
Renovate Bot
88169e74ed
Lock file maintenance
2024-08-12 02:06:15 +00:00
Renovate Bot
a3fa6c7d8e
Lock file maintenance
2024-08-05 02:06:16 +00:00
Renovate Bot
15f9dde1c9
Lock file maintenance
2024-07-01 00:03:45 +00:00
Renovate Bot
5d5ac041cd
Update dependency codespell to v2.3.0
2024-05-25 02:07:08 +00:00
silverwind
87def3837b
Upgrade tqdm
dependency ( #30996 )
...
Result of `make update-py`
Fixes: https://github.com/go-gitea/gitea/security/dependabot/65
(cherry picked from commit a73e3c6a696029541ebd423f4eb2fec1ba151f79)
2024-05-19 13:57:52 +02:00
Yaroslav Halchenko
2b2fd2728c
Add codespell support and fix a good number of typos with its help ( #3270 )
...
More about codespell: https://github.com/codespell-project/codespell .
I personally introduced it to dozens if not hundreds of projects already and so far only positive feedback.
```
❯ grep lint-spell Makefile
@echo " - lint-spell lint spelling"
@echo " - lint-spell-fix lint spelling and fix issues"
lint: lint-frontend lint-backend lint-spell
lint-fix: lint-frontend-fix lint-backend-fix lint-spell-fix
.PHONY: lint-spell
lint-spell: lint-codespell
.PHONY: lint-spell-fix
lint-spell-fix: lint-codespell-fix
❯ git grep lint- -- .forgejo/
.forgejo/workflows/testing.yml: - run: make --always-make -j$(nproc) lint-backend checks-backend # ensure the "go-licenses" make target runs
.forgejo/workflows/testing.yml: - run: make lint-frontend
```
so how would you like me to invoke `lint-codespell` on CI? (without that would be IMHO very suboptimal and let typos sneak in)
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3270
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Yaroslav Halchenko <debian@onerussian.com>
Co-committed-by: Yaroslav Halchenko <debian@onerussian.com>
2024-05-09 13:49:37 +00:00
silverwind
f77922ce4e
Update JS any PY dependencies, remove workarounds ( #30085 )
...
- Update dependencies via `make update-js update-py svg`
- Remove `postcss` workaround -
https://github.com/postcss/postcss/issues/1914
- Remove `happy-dom` workaround -
https://github.com/capricorn86/happy-dom/pull/1365 .
- Tested Katex and Asciinema
(cherry picked from commit c1ac72150885b327f56ea61273e27b16d6da5435)
2024-03-30 07:17:30 +01:00
silverwind
006d4ce6f2
Update js and py dependencies, bump python ( #29561 )
...
- Update js and py dependencies excluding `@mcaptcha/vanilla-glue`,
`eslint-plugin-array-func`
- Update stylelint config
- Require python 3.10 and use 3.12 on CI, bump setup-python as well
- Tested markdown toolbar, charts, clipboard, swagger ui, vue
(cherry picked from commit efa631aeead094267d46ea8f86e6d568f0c731e4)
Conflicts:
.github/workflows/pull-compliance.yml
does not existin in Forgejo
2024-03-06 12:10:46 +08:00
silverwind
6f159f4c1c
Update JS and PY dependencies ( #29184 )
...
- Update all excluding `@mcaptcha/vanilla-glue` and
`eslint-plugin-array-func`
- Tested pdf, chart.js, swagger
(cherry picked from commit 8f9c9d3a5fa185f4a61f71e49f15b6d5e611b44a)
2024-02-17 23:24:31 +01:00
silverwind
f7491db1c0
Update JS and PY dependencies ( #29127 )
...
- Update all excluding `@mcaptcha/vanilla-glue` and
`eslint-plugin-array-func`
- Remove deprecated and duplicate eslint rule
- Tested Monaco, Mermaid and Swagger
(cherry picked from commit 4fe37124e9ad5395b734662a7e8ab7b0025c38a3)
2024-02-14 21:44:24 +01:00
silverwind
a062725758
Update JS and PY dependencies, build for es2020
browsers ( #28977 )
...
- Update all JS dependencies minus @mcaptcha/vanilla-glue
- Fix new lint errors
- Regenerate SVGs
- Switch to maintained stylelint stylistic plugin
- Tested Mermaid, Citation, Swagger, sorting
- Raise ESBuild target to `es2020` as dictated by `pretty-ms`
dependency.
2024-02-02 09:36:32 +00:00
silverwind
06dcb251f3
Update JS and PY dependencies ( #28120 )
...
- Update all JS and PY dependencies minus `@mcaptcha/vanilla-glue`
- Adapt to eslint rule rename
- Regenerate all SVGs because of [new
optimizations](https://github.com/svg/svgo/releases/tag/v3.0.4 ) from
svgo.
- Tested mentions, mermaid, vue, api docs
2023-11-20 01:02:57 +01:00
silverwind
abd79ddebf
Update JS dependencies ( #27922 )
...
- Update all JS dependencies minus @mcaptcha/vanilla-glue (unsolved
error, see https://github.com/mCaptcha/glue/issues/65 )
- Migrate deprecated eslint rules to `@stylistic/eslint-plugin-js`
- Enable and autofix `@stylistic/js/no-multiple-empty-lines`
- Regenerate poetry.lock with latest poetry
- Tested Mermaid, Swagger, Citation, Vue
2023-11-06 21:14:32 +00:00
silverwind
0bccf078c9
Update JS and PY dependencies ( #27501 )
...
- Update all JS and PY dependencies
- Enable eslint `prefer-object-has-own` and autofix issue
- Fix styling on citation buttons
- Tested citation, mermaid, monaco, swagger, katex
Citation button issue was that these buttons were not filled:
<img width="136" alt="Screenshot 2023-10-07 at 14 05 08"
src="https://github.com/go-gitea/gitea/assets/115237/435f0c91-28ac-46b3-bae4-dad768b29c05 ">
Co-authored-by: techknowlogick <techknowlogick@gitea.com>
2023-10-08 00:16:20 +00:00
silverwind
a101dbaa79
Update JS and Poetry dependencies and eslint ( #27200 )
...
- Update all JS and Poetry dependencies
- Remove deprecated `eslint-plugin-custom-elements` and replace it with
rules from `eslint-plugin-wc`
- Add a convenience `make update` to update both js and py dependencies
- Tested markdown toolbar, swagger and citation
2023-09-22 22:51:48 +02:00
silverwind
b8ad558c93
Lock yamllint and update indirect python deps ( #26979 )
...
I forgot to lock `yamllint` to exact version, so did that and
regenerated `poetry.lock` as well.
2023-09-08 15:36:40 -04:00
silverwind
3c0c279658
Add yamllint
( #26965 )
...
So that https://github.com/go-gitea/gitea/pull/26964 does not happen
again. Merge this after that PR. Config is based on
[node's](https://github.com/nodejs/node/blob/main/.yamllint.yaml ).
---------
Co-authored-by: techknowlogick <techknowlogick@gitea.com>
2023-09-07 22:24:06 -04:00
silverwind
8e644d3460
Update js and py dependencies ( #26243 )
...
- Update all JS and PY dependencies minus
`eslint-plugin-eslint-comments` (because of
https://github.com/eslint-community/eslint-plugin-eslint-comments/issues/89 )
- Regenerate SVGs
- Remove depreacted eslint rule
- Tested mermaid and swagger
2023-07-31 01:16:12 +02:00
silverwind
06df92b5af
Update djlint, enable H026 and T027 ( #25980 )
...
New rules enabled as the bugs I reported were fixed:
- H026 | Empty id and class tags can be removed.
- T027 | Unclosed string found in template syntax.
Refs:
https://github.com/Riverside-Healthcare/djLint/issues/711
https://github.com/Riverside-Healthcare/djLint/issues/712
2023-07-19 10:35:25 +02:00
silverwind
02ef14bea2
Add make poetry-update
, upgrade djlint
( #25399 )
...
[updates](https://github.com/silverwind/updates ) now supports poetry as
well so we can use it for a new `make poetry-update` to update all
poetry dependencies.
2023-06-26 21:14:00 +00:00
silverwind
e24f651c86
Add template linting via djlint ( #25212 )
...
So I found this [linter](https://github.com/Riverside-Healthcare/djlint )
which features a mode for go templates, so I gave it a try and it did
find a number of valid issue, like unbalanced tags etc. It also has a
number of bugs, I had to disable/workaround many issues.
Given that this linter is written in python, this does add a dependency
on `python` >= 3.8 and `poetry` to the development environment to be
able to run this linter locally.
- `e.g.` prefixes on placeholders are removed because the linter had a
false-positive on `placeholder="e.g. cn=Search"` for the `attr=value`
syntax and it's not ideal anyways to write `e.g.` into a placeholder
because a placeholder is meant to hold a sample value.
- In `templates/repo/settings/options.tmpl` I simplified the logic to
not conditionally create opening tags without closing tags because this
stuff confuses the linter (and possibly the reader as well).
2023-06-14 18:17:58 +00:00