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
pull/10081/head
Himanshu Garg 2023-02-15 00:52:39 +05:30 zatwierdzone przez Sage Abdullah
rodzic dc2afe89b9
commit 2ae061a703
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: EB1A33CC51CC0217
3 zmienionych plików z 9 dodań i 2 usunięć

Wyświetl plik

@ -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']

Wyświetl plik

@ -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

Wyświetl plik

@ -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