You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by as...@apache.org on 2024/08/20 19:44:38 UTC

(superset-site) branch asf-site updated: deploying docs: docs: improve pre-commit docs and discoverability when CI fails (#29970) (apache/superset@175ba78d32985c7362df30c26c48b42b6758c016)

This is an automated email from the ASF dual-hosted git repository.

asf-ci-deploy pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/superset-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new c55955624 deploying docs: docs: improve pre-commit docs and discoverability when CI fails (#29970) (apache/superset@175ba78d32985c7362df30c26c48b42b6758c016)
c55955624 is described below

commit c55955624622fc7bb1e62d89ab1cd4c34abea6b8
Author: apache <de...@superset.apache.org>
AuthorDate: Tue Aug 20 19:44:32 2024 +0000

    deploying docs: docs: improve pre-commit docs and discoverability when CI fails (#29970) (apache/superset@175ba78d32985c7362df30c26c48b42b6758c016)
---
 404.html                                           |  2 +-
 assets/js/079e4a65.1c07a32c.js                     |  1 +
 assets/js/079e4a65.cae0dab2.js                     |  1 -
 assets/js/e74dd0f7.953e2882.js                     |  1 +
 assets/js/e74dd0f7.c14b1886.js                     |  1 -
 ...e~main.161e1035.js => runtime~main.926ab463.js} |  2 +-
 community/index.html                               |  2 +-
 docs/api/index.html                                |  2 +-
 docs/configuration/alerts-reports/index.html       |  2 +-
 docs/configuration/async-queries-celery/index.html |  2 +-
 docs/configuration/cache/index.html                |  2 +-
 docs/configuration/configuring-superset/index.html |  2 +-
 docs/configuration/country-map-tools/index.html    |  2 +-
 docs/configuration/databases/index.html            |  2 +-
 docs/configuration/event-logging/index.html        |  2 +-
 .../importing-exporting-datasources/index.html     |  2 +-
 docs/configuration/networking-settings/index.html  |  2 +-
 docs/configuration/setup-ssh-tunneling/index.html  |  2 +-
 docs/configuration/sql-templating/index.html       |  2 +-
 docs/configuration/timezones/index.html            |  2 +-
 docs/contributing/development/index.html           | 30 ++++++++++++++++++++--
 docs/contributing/guidelines/index.html            |  2 +-
 docs/contributing/howtos/index.html                |  2 +-
 docs/contributing/index.html                       |  2 +-
 docs/contributing/misc/index.html                  |  2 +-
 docs/contributing/resources/index.html             |  4 +--
 docs/faq/index.html                                |  2 +-
 docs/installation/architecture/index.html          |  2 +-
 docs/installation/docker-builds/index.html         |  2 +-
 docs/installation/docker-compose/index.html        |  2 +-
 docs/installation/kubernetes/index.html            |  2 +-
 docs/installation/pypi/index.html                  |  2 +-
 docs/installation/upgrading-superset/index.html    |  2 +-
 docs/intro/index.html                              |  2 +-
 docs/quickstart/index.html                         |  2 +-
 docs/security/cves/index.html                      |  2 +-
 docs/security/index.html                           |  2 +-
 .../creating-your-first-dashboard/index.html       |  2 +-
 docs/using-superset/exploring-data/index.html      |  2 +-
 docs/using-superset/issue-codes/index.html         |  2 +-
 img/erd.svg                                        |  2 +-
 index.html                                         |  2 +-
 markdown-page/index.html                           |  2 +-
 search/index.html                                  |  2 +-
 44 files changed, 70 insertions(+), 44 deletions(-)

diff --git a/404.html b/404.html
index 66e3de524..51e4326ed 100644
--- a/404.html
+++ b/404.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/assets/js/079e4a65.1c07a32c.js b/assets/js/079e4a65.1c07a32c.js
new file mode 100644
index 000000000..f8a009304
--- /dev/null
+++ b/assets/js/079e4a65.1c07a32c.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkdocs_v_2=self.webpackChunkdocs_v_2||[]).push([[6840],{37509:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>vd,contentTitle:()=>Sd,default:()=>Rd,frontMatter:()=>zd,metadata:()=>Fd,toc:()=>_d});var l,a,r,i,o,d,h,f,D,x,y,m,E,c,s,g,M,k,V,L,z,S,F,v,_,T,R,p,A,W,I,N,u,b,G,H,C,w,O,X,B,j,q,Y,U,P,K,Q,J,Z,$,ee,te,ne,le,ae,re,ie,oe,de,he,fe,De,xe,ye,me,Ee,ce,se,ge,Me,ke,Ve,Le,ze,Se,Fe,ve,_e,Te,Re,pe,Ae,We,Ie,Ne,ue,be,Ge,He,Ce,we,Oe,Xe,Be,je,qe,Ye,Ue,Pe,Ke,Qe,Je,Ze,$e,et,tt,nt,lt, [...]
\ No newline at end of file
diff --git a/assets/js/079e4a65.cae0dab2.js b/assets/js/079e4a65.cae0dab2.js
deleted file mode 100644
index 03a62adcb..000000000
--- a/assets/js/079e4a65.cae0dab2.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkdocs_v_2=self.webpackChunkdocs_v_2||[]).push([[6840],{37509:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>vd,contentTitle:()=>Sd,default:()=>Rd,frontMatter:()=>zd,metadata:()=>Fd,toc:()=>_d});var l,a,r,i,o,d,h,f,D,x,y,m,E,c,s,g,M,k,V,L,z,S,F,v,_,T,R,p,A,W,I,N,u,b,G,H,C,w,O,X,B,j,q,Y,U,P,K,Q,J,Z,$,ee,te,ne,le,ae,re,ie,oe,de,he,fe,De,xe,ye,me,Ee,ce,se,ge,Me,ke,Ve,Le,ze,Se,Fe,ve,_e,Te,Re,pe,Ae,We,Ie,Ne,ue,be,Ge,He,Ce,we,Oe,Xe,Be,je,qe,Ye,Ue,Pe,Ke,Qe,Je,Ze,$e,et,tt,nt,lt, [...]
\ No newline at end of file
diff --git a/assets/js/e74dd0f7.953e2882.js b/assets/js/e74dd0f7.953e2882.js
new file mode 100644
index 000000000..5a6d98c29
--- /dev/null
+++ b/assets/js/e74dd0f7.953e2882.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkdocs_v_2=self.webpackChunkdocs_v_2||[]).push([[1786],{92834:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>r,metadata:()=>a,toc:()=>d});var t=s(74848),i=s(28453);const r={title:"Setting up a Development Environment",sidebar_position:3,version:1},o="Setting up a Development Environment",a={id:"contributing/development",title:"Setting up a Development Environment",description:"The documentation in this section is a bit o [...]
\ No newline at end of file
diff --git a/assets/js/e74dd0f7.c14b1886.js b/assets/js/e74dd0f7.c14b1886.js
deleted file mode 100644
index cef5bd5e5..000000000
--- a/assets/js/e74dd0f7.c14b1886.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkdocs_v_2=self.webpackChunkdocs_v_2||[]).push([[1786],{92834:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>r,metadata:()=>a,toc:()=>d});var t=s(74848),i=s(28453);const r={title:"Setting up a Development Environment",sidebar_position:3,version:1},o="Setting up a Development Environment",a={id:"contributing/development",title:"Setting up a Development Environment",description:"The documentation in this section is a bit o [...]
\ No newline at end of file
diff --git a/assets/js/runtime~main.161e1035.js b/assets/js/runtime~main.926ab463.js
similarity index 97%
rename from assets/js/runtime~main.161e1035.js
rename to assets/js/runtime~main.926ab463.js
index 71f602a9f..09db30699 100644
--- a/assets/js/runtime~main.161e1035.js
+++ b/assets/js/runtime~main.926ab463.js
@@ -1 +1 @@
-(()=>{"use strict";var e,a,t,r,c,f={},d={};function o(e){var a=d[e];if(void 0!==a)return a.exports;var t=d[e]={id:e,loaded:!1,exports:{}};return f[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}o.m=f,o.c=d,e=[],o.O=(a,t,r,c)=>{if(!t){var f=1/0;for(i=0;i<e.length;i++){t=e[i][0],r=e[i][1],c=e[i][2];for(var d=!0,n=0;n<t.length;n++)(!1&c||f>=c)&&Object.keys(o.O).every((e=>o.O[e](t[n])))?t.splice(n--,1):(d=!1,c<f&&(f=c));if(d){e.splice(i--,1);var b=r();void 0!==b&&(a=b)}}return a}c=c| [...]
\ No newline at end of file
+(()=>{"use strict";var e,a,t,r,c,f={},d={};function o(e){var a=d[e];if(void 0!==a)return a.exports;var t=d[e]={id:e,loaded:!1,exports:{}};return f[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}o.m=f,o.c=d,e=[],o.O=(a,t,r,c)=>{if(!t){var f=1/0;for(i=0;i<e.length;i++){t=e[i][0],r=e[i][1],c=e[i][2];for(var d=!0,n=0;n<t.length;n++)(!1&c||f>=c)&&Object.keys(o.O).every((e=>o.O[e](t[n])))?t.splice(n--,1):(d=!1,c<f&&(f=c));if(d){e.splice(i--,1);var b=r();void 0!==b&&(a=b)}}return a}c=c| [...]
\ No newline at end of file
diff --git a/community/index.html b/community/index.html
index 758986bb8..6da0657bc 100644
--- a/community/index.html
+++ b/community/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/api/index.html b/docs/api/index.html
index b7aefc5b6..957c7152e 100644
--- a/docs/api/index.html
+++ b/docs/api/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/configuration/alerts-reports/index.html b/docs/configuration/alerts-reports/index.html
index b4d249dec..bec3dd9b1 100644
--- a/docs/configuration/alerts-reports/index.html
+++ b/docs/configuration/alerts-reports/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/configuration/async-queries-celery/index.html b/docs/configuration/async-queries-celery/index.html
index 8ee6adad1..b13383e3b 100644
--- a/docs/configuration/async-queries-celery/index.html
+++ b/docs/configuration/async-queries-celery/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/configuration/cache/index.html b/docs/configuration/cache/index.html
index beef71017..b254315eb 100644
--- a/docs/configuration/cache/index.html
+++ b/docs/configuration/cache/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/configuration/configuring-superset/index.html b/docs/configuration/configuring-superset/index.html
index 2aef72dfd..e84ec86a7 100644
--- a/docs/configuration/configuring-superset/index.html
+++ b/docs/configuration/configuring-superset/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/configuration/country-map-tools/index.html b/docs/configuration/country-map-tools/index.html
index 4aff147f4..baeb6bb06 100644
--- a/docs/configuration/country-map-tools/index.html
+++ b/docs/configuration/country-map-tools/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/configuration/databases/index.html b/docs/configuration/databases/index.html
index 9e182d005..be6c536d8 100644
--- a/docs/configuration/databases/index.html
+++ b/docs/configuration/databases/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/configuration/event-logging/index.html b/docs/configuration/event-logging/index.html
index 3a17f4cf0..abe91b30a 100644
--- a/docs/configuration/event-logging/index.html
+++ b/docs/configuration/event-logging/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/configuration/importing-exporting-datasources/index.html b/docs/configuration/importing-exporting-datasources/index.html
index 7ea626e2f..803d190f6 100644
--- a/docs/configuration/importing-exporting-datasources/index.html
+++ b/docs/configuration/importing-exporting-datasources/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/configuration/networking-settings/index.html b/docs/configuration/networking-settings/index.html
index b66f985cd..bcab23252 100644
--- a/docs/configuration/networking-settings/index.html
+++ b/docs/configuration/networking-settings/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/configuration/setup-ssh-tunneling/index.html b/docs/configuration/setup-ssh-tunneling/index.html
index 0e6b6cc9e..8000a668b 100644
--- a/docs/configuration/setup-ssh-tunneling/index.html
+++ b/docs/configuration/setup-ssh-tunneling/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/configuration/sql-templating/index.html b/docs/configuration/sql-templating/index.html
index da824e8d4..93488f6d7 100644
--- a/docs/configuration/sql-templating/index.html
+++ b/docs/configuration/sql-templating/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/configuration/timezones/index.html b/docs/configuration/timezones/index.html
index 848d34498..ad75a579f 100644
--- a/docs/configuration/timezones/index.html
+++ b/docs/configuration/timezones/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/contributing/development/index.html b/docs/contributing/development/index.html
index dff1030fc..12df43a1e 100644
--- a/docs/contributing/development/index.html
+++ b/docs/contributing/development/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
@@ -70,7 +70,33 @@ do is to install our dev, pinned python requirements bundle</p>
 <p>Superset uses Git pre-commit hooks courtesy of <a href="https://pre-commit.com/" target="_blank" rel="noopener noreferrer">pre-commit</a>.
 To install run the following:</p>
 <div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">pre-commit install</span><br></span></code></pre><div class="buttonGroup__atx"><button type [...]
-<p>A series of checks will now run when you make a git commit.</p>
+<p>This will install the hooks in your local repository. From now on, a series of checks will
+automatically run whenever you make a Git commit.</p>
+<h4 class="anchor anchorWithStickyNavbar_LWe7" id="running-pre-commit-manually">Running Pre-commit Manually<a class="hash-link" aria-label="Direct link to Running Pre-commit Manually" title="Direct link to Running Pre-commit Manually" href="/docs/contributing/development#running-pre-commit-manually">​</a></h4>
+<p>You can also run the pre-commit checks manually in various ways:</p>
+<ul>
+<li>
+<p><strong>Run pre-commit on all files (same as CI):</strong></p>
+<p>To run the pre-commit checks across all files in your repository, use the following command:</p>
+<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">pre-commit run --all-files</span><br></span></code></pre><div class="buttonGroup__atx"><but [...]
+<p>This is the same set of checks that will run during CI, ensuring your changes meet the project&#x27;s standards.</p>
+</li>
+<li>
+<p><strong>Run pre-commit on a specific file:</strong></p>
+<p>If you want to check or fix a specific file, you can do so by specifying the file path:</p>
+<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">pre-commit run --files path/to/your/file.py</span><br></span></code></pre><div class="butto [...]
+<p>This will only run the checks on the file(s) you specify.</p>
+</li>
+<li>
+<p><strong>Run a specific pre-commit check:</strong></p>
+<p>To run a specific check (hook) across all files or a particular file, use the following command:</p>
+<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">pre-commit run &lt;hook_id&gt; --all-files</span><br></span></code></pre><div class="button [...]
+<p>Or for a specific file:</p>
+<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">pre-commit run &lt;hook_id&gt; --files path/to/your/file.py</span><br></span></code></pre>< [...]
+<p>Replace <code>&lt;hook_id&gt;</code> with the ID of the specific hook you want to run. You can find the list
+of available hooks in the <code>.pre-commit-config.yaml</code> file.</p>
+</li>
+</ul>
 <h2 class="anchor anchorWithStickyNavbar_LWe7" id="alternatives-to-docker-compose">Alternatives to docker-compose<a class="hash-link" aria-label="Direct link to Alternatives to docker-compose" title="Direct link to Alternatives to docker-compose" href="/docs/contributing/development#alternatives-to-docker-compose">​</a></h2>
 <div class="theme-admonition theme-admonition-caution admonition_xJq3 alert alert--warning"><div class="admonitionHeading_Gvgb"><span class="admonitionIcon_Rf37"><svg viewBox="0 0 16 16"><path fill-rule="evenodd" d="M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"></path></svg></span>caution</ [...]
 development environments without <code>docker-compose</code> and are documented/supported to varying
diff --git a/docs/contributing/guidelines/index.html b/docs/contributing/guidelines/index.html
index 68d1162eb..877b15340 100644
--- a/docs/contributing/guidelines/index.html
+++ b/docs/contributing/guidelines/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/contributing/howtos/index.html b/docs/contributing/howtos/index.html
index 4281f6ec1..d3455adcd 100644
--- a/docs/contributing/howtos/index.html
+++ b/docs/contributing/howtos/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/contributing/index.html b/docs/contributing/index.html
index a0f9fa50f..bd7f72591 100644
--- a/docs/contributing/index.html
+++ b/docs/contributing/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/contributing/misc/index.html b/docs/contributing/misc/index.html
index 31864545b..ad3ca81ca 100644
--- a/docs/contributing/misc/index.html
+++ b/docs/contributing/misc/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/contributing/resources/index.html b/docs/contributing/resources/index.html
index 10ddc86e5..6e9898655 100644
--- a/docs/contributing/resources/index.html
+++ b/docs/contributing/resources/index.html
@@ -8,14 +8,14 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
 <script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme")}catch(t){}}();t(null!==e?e:"light")}(),function(){try{const n=new URLSearchParams(window.location.search).entries();for(var[t,e]of n)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentEle [...]
 <h2 class="anchor anchorWithStickyNavbar_LWe7" id="entity-relationship-diagram">Entity-Relationship Diagram<a class="hash-link" aria-label="Direct link to Entity-Relationship Diagram" title="Direct link to Entity-Relationship Diagram" href="/docs/contributing/resources#entity-relationship-diagram">​</a></h2>
 <p>Here is our interactive ERD:</p>
-<div style="position:relative;width:100%;height:800"><svg width="100%" height="800" style="display:block;touch-action:none"><rect fill="#003153" x="0" y="0" width="100%" height="800" style="pointer-events:none"></rect><g transform="matrix(1,0,0,1,0,0)"><rect fill="#fff" x="0" y="0"></rect><g><svg xmlns="http://www.w3.org/2000/svg" width="5835" height="2734" preserveAspectRatio="none" style="width:5835px;height:2734px;background:#003153" viewBox="0 0 5835 2734"><path fill="#003153" d="M0  [...]
+<div style="position:relative;width:100%;height:800"><svg width="100%" height="800" style="display:block;touch-action:none"><rect fill="#003153" x="0" y="0" width="100%" height="800" style="pointer-events:none"></rect><g transform="matrix(1,0,0,1,0,0)"><rect fill="#fff" x="0" y="0"></rect><g><svg xmlns="http://www.w3.org/2000/svg" width="6192" height="2121" preserveAspectRatio="none" style="width:6192px;height:2121px;background:#003153" viewBox="0 0 6192 2121"><path fill="#003153" d="M0  [...]
 <br>
 <p><a href="https://github.com/apache/superset/tree/master/docs/static/img/erd.svg" target="_blank" rel="noopener noreferrer">Download the .svg</a></p></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col"><a href="https://github.com/apache/superset/edit/master/docs/docs/contributing/resources.mdx" target="_blank" rel="noopener noreferrer" class="theme-edit-this-page"><svg fill="currentColor" height="20" wid [...]
           <div class="footer__applitools">
diff --git a/docs/faq/index.html b/docs/faq/index.html
index c061fa74b..e420728f8 100644
--- a/docs/faq/index.html
+++ b/docs/faq/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/installation/architecture/index.html b/docs/installation/architecture/index.html
index 2ce2cb7e5..e209403dd 100644
--- a/docs/installation/architecture/index.html
+++ b/docs/installation/architecture/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/installation/docker-builds/index.html b/docs/installation/docker-builds/index.html
index 9ec75f8a6..a4537fad6 100644
--- a/docs/installation/docker-builds/index.html
+++ b/docs/installation/docker-builds/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/installation/docker-compose/index.html b/docs/installation/docker-compose/index.html
index 0a209d91e..b9974264b 100644
--- a/docs/installation/docker-compose/index.html
+++ b/docs/installation/docker-compose/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/installation/kubernetes/index.html b/docs/installation/kubernetes/index.html
index 47d6e50ae..76bd7e8c4 100644
--- a/docs/installation/kubernetes/index.html
+++ b/docs/installation/kubernetes/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/installation/pypi/index.html b/docs/installation/pypi/index.html
index edc5efde9..6cad3cd78 100644
--- a/docs/installation/pypi/index.html
+++ b/docs/installation/pypi/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/installation/upgrading-superset/index.html b/docs/installation/upgrading-superset/index.html
index 445785ab8..3568f370e 100644
--- a/docs/installation/upgrading-superset/index.html
+++ b/docs/installation/upgrading-superset/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/intro/index.html b/docs/intro/index.html
index 9e884a317..ab90878d7 100644
--- a/docs/intro/index.html
+++ b/docs/intro/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/quickstart/index.html b/docs/quickstart/index.html
index 95ffb4297..fde2e5231 100644
--- a/docs/quickstart/index.html
+++ b/docs/quickstart/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/security/cves/index.html b/docs/security/cves/index.html
index c749be8bd..8328a1e83 100644
--- a/docs/security/cves/index.html
+++ b/docs/security/cves/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/security/index.html b/docs/security/index.html
index 2ad3f02d2..a4e62d893 100644
--- a/docs/security/index.html
+++ b/docs/security/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/using-superset/creating-your-first-dashboard/index.html b/docs/using-superset/creating-your-first-dashboard/index.html
index 587b916bd..eab2cb779 100644
--- a/docs/using-superset/creating-your-first-dashboard/index.html
+++ b/docs/using-superset/creating-your-first-dashboard/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/using-superset/exploring-data/index.html b/docs/using-superset/exploring-data/index.html
index 54e21f6b5..c2f21cc5a 100644
--- a/docs/using-superset/exploring-data/index.html
+++ b/docs/using-superset/exploring-data/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/docs/using-superset/issue-codes/index.html b/docs/using-superset/issue-codes/index.html
index 393b13019..01e9f6da6 100644
--- a/docs/using-superset/issue-codes/index.html
+++ b/docs/using-superset/issue-codes/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/img/erd.svg b/img/erd.svg
index 7efdc557e..10bbfa81d 100644
--- a/img/erd.svg
+++ b/img/erd.svg
@@ -1 +1 @@
-<?xml version="1.0" encoding="us-ascii" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="2734px" preserveAspectRatio="none" style="width:5835px;height:2734px;background:#003153;" version="1.1" viewBox="0 0 5835 2734" width="5835px" zoomAndPan="magnify"><defs/><g><rect fill="#003153" height="2734" style="stroke:none;stroke-width:1.0;" width="5835" x="0" y="0"/><text fill="#D9D3D0" font-family="Verdana"  [...]
\ No newline at end of file
+<?xml version="1.0" encoding="us-ascii" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="2121px" preserveAspectRatio="none" style="width:6192px;height:2121px;background:#003153;" version="1.1" viewBox="0 0 6192 2121" width="6192px" zoomAndPan="magnify"><defs/><g><rect fill="#003153" height="2121" style="stroke:none;stroke-width:1.0;" width="6192" x="0" y="0"/><text fill="#D9D3D0" font-family="Verdana"  [...]
\ No newline at end of file
diff --git a/index.html b/index.html
index 3ba274acc..a95c27f72 100644
--- a/index.html
+++ b/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/markdown-page/index.html b/markdown-page/index.html
index 12ec67811..45c77b49f 100644
--- a/markdown-page/index.html
+++ b/markdown-page/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">
diff --git a/search/index.html b/search/index.html
index 080b346d8..702706ca4 100644
--- a/search/index.html
+++ b/search/index.html
@@ -8,7 +8,7 @@
 
 
 <script src="/script/matomo.js"></script><link rel="stylesheet" href="/assets/css/styles.970abb13.css">
-<script src="/assets/js/runtime~main.161e1035.js" defer="defer"></script>
+<script src="/assets/js/runtime~main.926ab463.js" defer="defer"></script>
 <script src="/assets/js/main.7ea39ccc.js" defer="defer"></script>
 </head>
 <body class="navigation-with-keyboard">