mirror of
https://github.com/apache/superset.git
synced 2026-04-25 11:04:48 +00:00
chore: blacklist unsafe functions (#19537)
This commit is contained in:
@@ -51,3 +51,9 @@ repos:
|
||||
- id: prettier
|
||||
args: ['--ignore-path=./superset-frontend/.prettierignore']
|
||||
files: 'superset-frontend'
|
||||
# blacklist unsafe functions like make_url (see #19526)
|
||||
- repo: https://github.com/skorokithakis/blacklist-pre-commit-hook
|
||||
rev: e2f070289d8eddcaec0b580d3bde29437e7c8221
|
||||
hooks:
|
||||
- id: blacklist
|
||||
args: ["--blacklisted-names=make_url", "--ignore=tests/"]
|
||||
|
||||
Reference in New Issue
Block a user