From 013e0cba5e8a77900e63987776dbbecd59831d9c Mon Sep 17 00:00:00 2001 From: deterclosed <164524498+deterclosed@users.noreply.github.com> Date: Sat, 23 Mar 2024 20:41:13 +0800 Subject: [PATCH] all: fix some comments (#1553) Signed-off-by: deterclosed --- README.md | 4 ++-- data/api/tools.json | 6 +++--- data/tools/cargo-unused-features.yml | 2 +- data/tools/chart-testing.yml | 2 +- data/tools/pyupgrade.yml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 9f8a57471..59e942d96 100644 --- a/README.md +++ b/README.md @@ -1136,7 +1136,7 @@ YAPF follows a distinctive methodology, originating from the 'clang-format' tool - [cargo-spellcheck](https://github.com/drahnr/cargo-spellcheck) — Checks all your documentation for spelling and grammar mistakes with hunspell (ready) and languagetool (preview) - [cargo-unused-features](https://github.com/TimonPost/cargo-unused-features) — Find potential unused enabled feature flags and prune them. You can generate a simple HTML report from the json to make it easier to inspect results. -It removes a feature of a dependency and then compiles the project to see if it still compiles. If it does, the feature flag can possibly be removed, but it can be a false-positve. +It removes a feature of a dependency and then compiles the project to see if it still compiles. If it does, the feature flag can possibly be removed, but it can be a false-positive. - [clippy](https://rust-lang.github.io/rust-clippy) — A code linter to catch common mistakes and improve your Rust code. @@ -1886,7 +1886,7 @@ Its technology helps developers automate testing, find bugs, and reduce manual l

Kubernetes

-- [chart-testing](https://github.com/helm/chart-testing) — ct is the the tool for testing Helm charts. It is meant to be used for linting and testing pull requests. It automatically detects charts changed against the target branch. +- [chart-testing](https://github.com/helm/chart-testing) — ct is the tool for testing Helm charts. It is meant to be used for linting and testing pull requests. It automatically detects charts changed against the target branch. - [clusterlint](https://github.com/digitalocean/clusterlint) — Clusterlint queries live Kubernetes clusters for resources, executes common and platform specific checks against these resources and provides actionable feedback to cluster operators. It is a non invasive tool that is run externally. Clusterlint does not alter the resource configurations. diff --git a/data/api/tools.json b/data/api/tools.json index 40a8ac76c..5f023ca77 100644 --- a/data/api/tools.json +++ b/data/api/tools.json @@ -2056,7 +2056,7 @@ "source": "https://github.com/TimonPost/cargo-unused-features", "pricing": null, "plans": null, - "description": "Find potential unused enabled feature flags and prune them. You can generate a simple HTML report from the json to make it easier to inspect results.\nIt removes a feature of a dependency and then compiles the project to see if it still compiles. If it does, the feature flag can possibly be removed, but it can be a false-positve.", + "description": "Find potential unused enabled feature flags and prune them. You can generate a simple HTML report from the json to make it easier to inspect results.\nIt removes a feature of a dependency and then compiles the project to see if it still compiles. If it does, the feature flag can possibly be removed, but it can be a false-positive.", "discussion": null, "deprecated": null, "resources": null, @@ -2204,7 +2204,7 @@ "source": "https://github.com/helm/chart-testing", "pricing": null, "plans": null, - "description": "ct is the the tool for testing Helm charts. It is meant to be used for linting and testing pull requests. It automatically detects charts changed against the target branch.", + "description": "ct is the tool for testing Helm charts. It is meant to be used for linting and testing pull requests. It automatically detects charts changed against the target branch.", "discussion": null, "deprecated": null, "resources": null, @@ -14832,7 +14832,7 @@ "deprecated": null, "resources": [ { - "title": "Python linter comparision 2022.", + "title": "Python linter comparison 2022.", "url": "https://inventwithpython.com/blog/2022/11/19/python-linter-comparison-2022-pylint-vs-pyflakes-vs-flake8-vs-autopep8-vs-bandit-vs-prospector-vs-pylama-vs-pyroma-vs-black-vs-mypy-vs-radon-vs-mccabe/" } ], diff --git a/data/tools/cargo-unused-features.yml b/data/tools/cargo-unused-features.yml index f7020fbde..6412b4718 100644 --- a/data/tools/cargo-unused-features.yml +++ b/data/tools/cargo-unused-features.yml @@ -13,4 +13,4 @@ description: >- You can generate a simple HTML report from the json to make it easier to inspect results. It removes a feature of a dependency and then compiles the project to see if it still compiles. - If it does, the feature flag can possibly be removed, but it can be a false-positve. + If it does, the feature flag can possibly be removed, but it can be a false-positive. diff --git a/data/tools/chart-testing.yml b/data/tools/chart-testing.yml index 48f415692..ba5a740dd 100644 --- a/data/tools/chart-testing.yml +++ b/data/tools/chart-testing.yml @@ -9,6 +9,6 @@ types: source: 'https://github.com/helm/chart-testing' homepage: 'https://github.com/helm/chart-testing' description: >- - ct is the the tool for testing Helm charts. + ct is the tool for testing Helm charts. It is meant to be used for linting and testing pull requests. It automatically detects charts changed against the target branch. diff --git a/data/tools/pyupgrade.yml b/data/tools/pyupgrade.yml index d607d22c8..c06671f1b 100644 --- a/data/tools/pyupgrade.yml +++ b/data/tools/pyupgrade.yml @@ -10,5 +10,5 @@ source: "https://github.com/asottile/pyupgrade" homepage: "https://pypi.org/project/pyupgrade-docs/" description: A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language. resources: - - title: Python linter comparision 2022. + - title: Python linter comparison 2022. url: https://inventwithpython.com/blog/2022/11/19/python-linter-comparison-2022-pylint-vs-pyflakes-vs-flake8-vs-autopep8-vs-bandit-vs-prospector-vs-pylama-vs-pyroma-vs-black-vs-mypy-vs-radon-vs-mccabe/