-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tidy] Apply mdformat to markdown files (#873)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jo Stichbury <[email protected]> Co-authored-by: huong-li-nguyen <[email protected]> Co-authored-by: petar-qb <[email protected]>
- Loading branch information
1 parent
fc5a08c
commit 5ec20d7
Showing
76 changed files
with
2,082 additions
and
2,347 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,8 +34,9 @@ repos: | |
description: Linter for json, yaml, md, css and more | ||
entry: prettier --write --ignore-unknown | ||
language: node | ||
"types": [text] | ||
types: [text] | ||
additional_dependencies: ["[email protected]"] | ||
exclude_types: [markdown] | ||
|
||
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks | ||
rev: v2.14.0 | ||
|
@@ -83,16 +84,19 @@ repos: | |
- [email protected] | ||
args: ["--fix"] | ||
|
||
- repo: https://github.com/errata-ai/vale | ||
rev: v3.9.1 | ||
- repo: https://github.com/executablebooks/mdformat | ||
rev: 0.7.18 | ||
hooks: | ||
- id: vale | ||
args: [--config=.vale/.vale.ini] | ||
# There's no way to automatically convert vale suggestions/warnings to errors, and so they won't appear at all unless | ||
# there's an error raised. | ||
# pre-commit's verbose mode means that suggestions and warnings are always shown even if there's no error raised. | ||
# See https://github.com/errata-ai/vale/issues/575. | ||
verbose: true | ||
- id: mdformat | ||
args: | ||
[ | ||
--ignore-missing-references, | ||
--wrap=no, | ||
--align-semantic-breaks-in-lists, | ||
] | ||
exclude: ^vizro-core/docs/pages/API-reference|^vizro-ai/docs/pages/API-reference|vizro-core/docs/pages/user-guides/custom-components.md|^vizro-core/changelog.d|^vizro-ai/changelog.d | ||
additional_dependencies: | ||
- mdformat-mkdocs[recommended]==3.1.1 | ||
|
||
# Configuration for https://pre-commit.ci/. | ||
ci: | ||
|
@@ -108,4 +112,3 @@ ci: | |
- codespell | ||
- bandit | ||
- mypy | ||
- vale |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# Contributing | ||
|
||
Contributions of all experience levels are welcome! If you're interested in making a contribution, | ||
please refer to our [contributing guide](https://vizro.readthedocs.io/en/stable/pages/explanation/contributing/) for more information. | ||
Contributions of all experience levels are welcome! If you're interested in making a contribution, please refer to our [contributing guide](https://vizro.readthedocs.io/en/stable/pages/explanation/contributing/) for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.