0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-24 10:58:52 +01:00

Add curlylint and update djhtml, semgrep versions in pre-commit config

The djhtml and semgrep versions are now in sync with the ones in setup.py
This commit is contained in:
Himanshu Garg 2023-02-15 00:52:39 +05:30 committed by Sage Abdullah
parent dc2afe89b9
commit 2ae061a703
No known key found for this signature in database
GPG Key ID: EB1A33CC51CC0217
3 changed files with 9 additions and 2 deletions

View File

@ -46,12 +46,17 @@ repos:
additional_dependencies:
- stylelint@14.2.0
- '@wagtail/stylelint-config-wagtail@0.3.2'
- repo: https://github.com/thibaudcolas/curlylint
rev: v0.13.1
hooks:
- id: curlylint
args: ['--parse-only']
- repo: https://github.com/rtts/djhtml
rev: v1.4.13
rev: v1.5.2
hooks:
- id: djhtml
- repo: https://github.com/returntocorp/semgrep
rev: v0.117.0
rev: v1.3.0
hooks:
- id: semgrep
args: ['--config', '.semgrep.yml', '--error']

View File

@ -44,6 +44,7 @@ Changelog
* Maintenance: Convert userbar implementation to TypeScript (Albina Starykova)
* Maintenance: Migrate slug field behaviour to a Stimulus controller and create new `SlugInput` widget (Loveth Omokaro)
* Maintenance: Refactor `status` HTML usage to shared template tag (Aman Pandey, LB (Ben) Johnston)
* Maintenance: Add curlylint and update djhtml, semgrep versions in pre-commit config (Himanshu Garg)
4.2.1 (xx.xx.xxxx) - IN DEVELOPMENT

View File

@ -64,6 +64,7 @@ depth: 1
* Convert userbar implementation to TypeScript (Albina Starykova)
* Migrate slug field behaviour to a Stimulus controller and create new `SlugInput` widget (Loveth Omokaro)
* Refactor `status` HTML usage to shared template tag (Aman Pandey, LB (Ben) Johnston)
* Add curlylint and update djhtml, semgrep versions in pre-commit config (Himanshu Garg)
## Upgrade considerations