From f4da7635f009e170ae42943e50124ee086d27abc Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Tue, 17 Jan 2023 05:12:00 +0100 Subject: [PATCH] Add missing url for flake8-import-conventions --- README.md | 2 ++ src/registry.rs | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index aaae4c56a9..0619c4e062 100644 --- a/README.md +++ b/README.md @@ -922,6 +922,8 @@ For more, see [flake8-implicit-str-concat](https://pypi.org/project/flake8-impli ### flake8-import-conventions (ICN) +For more, see [flake8-import-conventions](https://github.com/joaopalmeiro/flake8-import-conventions) on GitHub. + | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | | ICN001 | ImportAliasIsNotConventional | `...` should be imported as `...` | | diff --git a/src/registry.rs b/src/registry.rs index 9878b66762..2034a38cb8 100644 --- a/src/registry.rs +++ b/src/registry.rs @@ -630,7 +630,10 @@ impl RuleOrigin { "https://pypi.org/project/flake8-implicit-str-concat/0.3.0/", &Platform::PyPI, )), - RuleOrigin::Flake8ImportConventions => None, + RuleOrigin::Flake8ImportConventions => Some(( + "https://github.com/joaopalmeiro/flake8-import-conventions", + &Platform::GitHub, + )), RuleOrigin::Flake8Print => Some(( "https://pypi.org/project/flake8-print/5.0.0/", &Platform::PyPI,