]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commit
🔧 Add pre-commit with first config and first formatting pass (#4888)
authorSebastián Ramírez <tiangolo@gmail.com>
Thu, 12 May 2022 00:06:16 +0000 (19:06 -0500)
committerGitHub <noreply@github.com>
Thu, 12 May 2022 00:06:16 +0000 (00:06 +0000)
commit3d0f130ff355f3a57a929eadd68f0cc3ab96b2f1
tree0b6ebf8e14a35d7d8f3b6ecd100d19c61955fe06
parent9cbd42b13e5686b4bd298af1431b07b75bc477c8
🔧 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
119 files changed:
.github/ISSUE_TEMPLATE/feature-request.yml
.github/ISSUE_TEMPLATE/question.yml
.github/workflows/latest-changes.yml
.github/workflows/people.yml
.github/workflows/preview-docs.yml
.pre-commit-config.yaml [new file with mode: 0644]
docs/de/docs/features.md
docs/de/docs/index.md
docs/en/data/external_links.yml
docs/en/docs/advanced/additional-responses.md
docs/en/docs/advanced/additional-status-codes.md
docs/en/docs/advanced/security/oauth2-scopes.md
docs/en/docs/advanced/sql-databases-peewee.md
docs/en/docs/alternatives.md
docs/en/docs/deployment/docker.md
docs/en/docs/deployment/manually.md
docs/en/docs/img/deployment/concepts/process-ram.drawio
docs/en/docs/img/deployment/concepts/process-ram.svg
docs/en/docs/img/deployment/https/https.drawio
docs/en/docs/img/deployment/https/https.svg
docs/en/docs/img/deployment/https/https01.drawio
docs/en/docs/img/deployment/https/https01.svg
docs/en/docs/img/deployment/https/https02.drawio
docs/en/docs/img/deployment/https/https02.svg
docs/en/docs/img/deployment/https/https03.drawio
docs/en/docs/img/deployment/https/https03.svg
docs/en/docs/img/deployment/https/https04.drawio
docs/en/docs/img/deployment/https/https04.svg
docs/en/docs/img/deployment/https/https05.drawio
docs/en/docs/img/deployment/https/https05.svg
docs/en/docs/img/deployment/https/https06.drawio
docs/en/docs/img/deployment/https/https06.svg
docs/en/docs/img/deployment/https/https07.drawio
docs/en/docs/img/deployment/https/https07.svg
docs/en/docs/img/deployment/https/https08.drawio
docs/en/docs/img/deployment/https/https08.svg
docs/en/docs/img/tutorial/bigger-applications/package.drawio
docs/en/docs/img/tutorial/bigger-applications/package.svg
docs/en/docs/js/termynal.js
docs/en/docs/python-types.md
docs/en/docs/tutorial/bigger-applications.md
docs/en/docs/tutorial/body-nested-models.md
docs/en/docs/tutorial/body.md
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
docs/en/docs/tutorial/request-files.md
docs/en/docs/tutorial/request-forms.md
docs/en/overrides/main.html
docs/es/docs/tutorial/first-steps.md
docs/fr/docs/alternatives.md
docs/fr/docs/async.md
docs/fr/docs/deployment/docker.md
docs/fr/docs/features.md
docs/fr/docs/index.md
docs/fr/docs/tutorial/background-tasks.md
docs/fr/docs/tutorial/body.md
docs/fr/docs/tutorial/first-steps.md
docs/fr/docs/tutorial/path-params.md
docs/fr/docs/tutorial/query-params.md
docs/id/docs/index.md
docs/it/docs/index.md
docs/ja/docs/alternatives.md
docs/ja/docs/async.md
docs/ja/docs/deployment/index.md
docs/ja/docs/deployment/manually.md
docs/ja/docs/history-design-future.md
docs/ja/docs/tutorial/body.md
docs/ja/docs/tutorial/middleware.md
docs/ja/docs/tutorial/path-params.md
docs/ja/docs/tutorial/query-params.md
docs/ja/docs/tutorial/request-forms.md
docs/ja/docs/tutorial/testing.md
docs/ko/docs/deployment/versions.md
docs/ko/docs/tutorial/header-params.md
docs/ko/docs/tutorial/path-params.md
docs/ko/docs/tutorial/request-files.md
docs/ko/docs/tutorial/request-forms-and-files.md
docs/ko/docs/tutorial/response-status-code.md
docs/pl/docs/tutorial/index.md
docs/pt/docs/alternatives.md
docs/pt/docs/async.md
docs/pt/docs/benchmarks.md
docs/pt/docs/help-fastapi.md
docs/pt/docs/index.md
docs/pt/docs/python-types.md
docs/pt/docs/tutorial/body.md
docs/ru/docs/async.md
docs/ru/docs/index.md
docs/ru/docs/python-types.md
docs/sq/docs/index.md
docs/tr/docs/features.md
docs/tr/docs/index.md
docs/tr/docs/python-types.md
docs/uk/docs/index.md
docs/zh/docs/advanced/additional-status-codes.md
docs/zh/docs/advanced/custom-response.md
docs/zh/docs/advanced/response-directly.md
docs/zh/docs/benchmarks.md
docs/zh/docs/contributing.md
docs/zh/docs/features.md
docs/zh/docs/help-fastapi.md
docs/zh/docs/tutorial/bigger-applications.md
docs/zh/docs/tutorial/body-nested-models.md
docs/zh/docs/tutorial/body-updates.md
docs/zh/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
docs/zh/docs/tutorial/dependencies/global-dependencies.md
docs/zh/docs/tutorial/dependencies/index.md
docs/zh/docs/tutorial/dependencies/sub-dependencies.md
docs/zh/docs/tutorial/extra-data-types.md
docs/zh/docs/tutorial/first-steps.md
docs/zh/docs/tutorial/handling-errors.md
docs/zh/docs/tutorial/path-operation-configuration.md
docs/zh/docs/tutorial/path-params-numeric-validations.md
docs/zh/docs/tutorial/request-files.md
docs/zh/docs/tutorial/request-forms-and-files.md
docs/zh/docs/tutorial/request-forms.md
docs/zh/docs/tutorial/schema-extra-example.md
docs/zh/docs/tutorial/security/index.md
docs/zh/docs/tutorial/security/oauth2-jwt.md
pyproject.toml