🔧 Add pre-commit with first config and first formatting pass (#4888)

* 🔧 Add first pre-commit config

* 🎨 Format YAML files with pre-commit

* 🎨 Format Markdown with pre-commit

* 🎨 Format SVGs, drawio, JS, HTML with pre-commit

*  Add pre-commit to dev dependencies

* ⬇️ Extend pre-commit range to support Python 3.6
This commit is contained in:
Sebastián Ramírez
2022-05-11 19:06:16 -05:00
committed by GitHub
parent 9cbd42b13e
commit 3d0f130ff3
119 changed files with 228 additions and 221 deletions

View File

@@ -22,7 +22,7 @@
!!! note
路径参数总是必需的,因为它必须是路径的一部分。
所以,你应该在声明时使用 `...` 将其标记为必需参数。
然而,即使你使用 `None` 声明路径参数或设置一个其他默认值也不会有任何影响,它依然会是必需参数。