From 25d46ee204387a4598349f910d4083adec05dc6d Mon Sep 17 00:00:00 2001 From: Dorian Turba <froggit.commit.z3jqj@simplelogin.com> Date: Mon, 28 Aug 2023 16:52:31 +0200 Subject: [PATCH] update badge links --- templates/python/code_quality/black/README.md | 2 +- templates/python/code_quality/flake8/README.md | 2 +- templates/python/code_quality/isort/README.md | 2 +- templates/python/code_quality/mypy/README.md | 3 +-- templates/python/code_quality/ruff/README.md | 2 +- templates/python/testing/pytest/README.md | 2 +- 6 files changed, 6 insertions(+), 7 deletions(-) diff --git a/templates/python/code_quality/black/README.md b/templates/python/code_quality/black/README.md index 3ec29ea..7e6c0ef 100644 --- a/templates/python/code_quality/black/README.md +++ b/templates/python/code_quality/black/README.md @@ -19,7 +19,7 @@ pre-commit, etc), you can use `pyproject.toml` configuration file. Learn more about [pyproject](https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/) configuration files. -## Add a <a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a> badge to your project README.md +## Add a [](https://github.com/psf/black) badge to your project README.md To display the use of Black in your project, you can add the following badge to your README.md: diff --git a/templates/python/code_quality/flake8/README.md b/templates/python/code_quality/flake8/README.md index 912946b..854e76d 100644 --- a/templates/python/code_quality/flake8/README.md +++ b/templates/python/code_quality/flake8/README.md @@ -17,7 +17,7 @@ To add configuration to `flake8` shared with any other usage of flake8 (such as pre-commit, etc), you can use `.flake8` configuration file. Learn more about [flake8 configuration](https://flake8.pycqa.org/en/latest/user/configuration.html) files. -## Add a <a href="https://flake8.pycqa.org/"><img alt="Code style: Flake8" src="https://img.shields.io/badge/Flake8-checks-blue"></a> Badge to your project README.md +## Add a [](https://flake8.pycqa.org/) badge to your project README.md To display the use of Flake8 in your project, you can add the following badge to your README.md: diff --git a/templates/python/code_quality/isort/README.md b/templates/python/code_quality/isort/README.md index d55061a..61467a0 100644 --- a/templates/python/code_quality/isort/README.md +++ b/templates/python/code_quality/isort/README.md @@ -19,7 +19,7 @@ pre-commit, etc), you can use `pyproject.toml` configuration file or a dedicated more about [isort configuration](https://pycqa.github.io/isort/docs/configuration/config_files.html) files. -## Add an <a href="https://pycqa.github.io/isort/"><img alt="Imports: isort" src="https://img.shields.io/badge/Imports-isort-yellow"></a> Badge to your project README.md +## Add an [](https://pycqa.github.io/isort/) badge to your project README.md To display the use of isort in your project, you can add the following badge to your README.md: diff --git a/templates/python/code_quality/mypy/README.md b/templates/python/code_quality/mypy/README.md index 9a6b7a0..c8c7793 100644 --- a/templates/python/code_quality/mypy/README.md +++ b/templates/python/code_quality/mypy/README.md @@ -18,8 +18,7 @@ To add configuration to `mypy` shared with any other usage of mypy (such as manu etc), you can use `mypy.ini`, `setup.cfg` or `pyproject.toml` configuration file. Learn more about [mypy configuration](https://mypy.readthedocs.io/en/stable/config_file.html) files. - -## Add a <a href="https://mypy.readthedocs.io/"><img alt="Type Checked: mypy" src="https://img.shields.io/badge/mypy-checks-blue"></a> Badge to your project README.md +## Add a [](https://mypy.readthedocs.io/) badge to your project README.md To display the use of mypy in your project, you can add the following badge to your README.md: diff --git a/templates/python/code_quality/ruff/README.md b/templates/python/code_quality/ruff/README.md index 717a79f..6a9dc91 100644 --- a/templates/python/code_quality/ruff/README.md +++ b/templates/python/code_quality/ruff/README.md @@ -19,7 +19,7 @@ pre-commit, etc), you can use a `pyproject.toml`, `ruff.toml`, or `.ruff.toml` c your project's root directory. Learn more about [ruff configuration](https://beta.ruff.rs/docs/configuration/) files. -## Add a <a href="https://github.com/ruffle-rs/ruffle"><img alt="Code style: Ruff" src="https://img.shields.io/badge/Ruff-Linter-blue"></a> Badge to your project README.md +## Add a [](https://github.com/astral-sh/ruff) badge to your project README.md To display the use of Ruff in your project, you can add the following badge to your README.md: diff --git a/templates/python/testing/pytest/README.md b/templates/python/testing/pytest/README.md index 8d6004b..7a8607d 100644 --- a/templates/python/testing/pytest/README.md +++ b/templates/python/testing/pytest/README.md @@ -49,7 +49,7 @@ pytest_3.10: https://docs.r2devops.io/get-started/use-templates/#multiple-usage-of-the-same-job-template-in-your-pipeline -## Add a <a href="https://docs.pytest.org/en/latest/"><img alt="Tested with pytest" src="https://img.shields.io/badge/Tested%20with-pytest-green"></a> Badge to your project README.md +## Add a [](https://docs.pytest.org/en/latest/) badge to your project README.md To display the use of pytest in your project, you can add the following badge to your README.md: -- GitLab