Add missing url for flake8-import-conventions

This commit is contained in:
Martin Fischer 2023-01-17 05:12:00 +01:00 committed by Charlie Marsh
parent 74a8a218f3
commit f4da7635f0
2 changed files with 6 additions and 1 deletions

View File

@ -922,6 +922,8 @@ For more, see [flake8-implicit-str-concat](https://pypi.org/project/flake8-impli
### flake8-import-conventions (ICN) ### flake8-import-conventions (ICN)
For more, see [flake8-import-conventions](https://github.com/joaopalmeiro/flake8-import-conventions) on GitHub.
| Code | Name | Message | Fix | | Code | Name | Message | Fix |
| ---- | ---- | ------- | --- | | ---- | ---- | ------- | --- |
| ICN001 | ImportAliasIsNotConventional | `...` should be imported as `...` | | | ICN001 | ImportAliasIsNotConventional | `...` should be imported as `...` | |

View File

@ -630,7 +630,10 @@ impl RuleOrigin {
"https://pypi.org/project/flake8-implicit-str-concat/0.3.0/", "https://pypi.org/project/flake8-implicit-str-concat/0.3.0/",
&Platform::PyPI, &Platform::PyPI,
)), )),
RuleOrigin::Flake8ImportConventions => None, RuleOrigin::Flake8ImportConventions => Some((
"https://github.com/joaopalmeiro/flake8-import-conventions",
&Platform::GitHub,
)),
RuleOrigin::Flake8Print => Some(( RuleOrigin::Flake8Print => Some((
"https://pypi.org/project/flake8-print/5.0.0/", "https://pypi.org/project/flake8-print/5.0.0/",
&Platform::PyPI, &Platform::PyPI,