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,