From e11cf1bf65538da7d5f44a2a07b6c917d43553af Mon Sep 17 00:00:00 2001 From: alm Date: Sun, 22 Jan 2023 20:10:22 +0200 Subject: [PATCH] Update linters PyPI links to latest version (#2062) --- README.md | 68 ++++++++++----------- build.rs | 2 +- scripts/add_plugin.py | 6 +- src/rules/eradicate/mod.rs | 2 +- src/rules/flake8_2020/mod.rs | 2 +- src/rules/flake8_annotations/mod.rs | 2 +- src/rules/flake8_bandit/mod.rs | 2 +- src/rules/flake8_blind_except/mod.rs | 2 +- src/rules/flake8_boolean_trap/mod.rs | 2 +- src/rules/flake8_bugbear/mod.rs | 2 +- src/rules/flake8_builtins/mod.rs | 2 +- src/rules/flake8_commas/mod.rs | 2 +- src/rules/flake8_comprehensions/mod.rs | 2 +- src/rules/flake8_datetimez/mod.rs | 2 +- src/rules/flake8_debugger/mod.rs | 2 +- src/rules/flake8_errmsg/mod.rs | 2 +- src/rules/flake8_executable/mod.rs | 2 +- src/rules/flake8_implicit_str_concat/mod.rs | 2 +- src/rules/flake8_no_pep420/mod.rs | 2 +- src/rules/flake8_pie/mod.rs | 2 +- src/rules/flake8_print/mod.rs | 2 +- src/rules/flake8_pytest_style/mod.rs | 2 +- src/rules/flake8_quotes/mod.rs | 2 +- src/rules/flake8_return/mod.rs | 2 +- src/rules/flake8_simplify/mod.rs | 2 +- src/rules/flake8_tidy_imports/mod.rs | 2 +- src/rules/flake8_type_checking/mod.rs | 2 +- src/rules/flake8_unused_arguments/mod.rs | 2 +- src/rules/isort/mod.rs | 2 +- src/rules/mccabe/mod.rs | 2 +- src/rules/pandas_vet/mod.rs | 2 +- src/rules/pep8_naming/mod.rs | 2 +- src/rules/pycodestyle/mod.rs | 2 +- src/rules/pydocstyle/mod.rs | 2 +- src/rules/pyflakes/mod.rs | 2 +- src/rules/pylint/mod.rs | 2 +- src/rules/pyupgrade/mod.rs | 2 +- 37 files changed, 72 insertions(+), 72 deletions(-) diff --git a/README.md b/README.md index 46541616705a7..7d2093536aaa6 100644 --- a/README.md +++ b/README.md @@ -544,7 +544,7 @@ The 🛠 emoji indicates that a rule is automatically fixable by the `--fix` com ### Pyflakes (F) -For more, see [Pyflakes](https://pypi.org/project/pyflakes/2.5.0/) on PyPI. +For more, see [Pyflakes](https://pypi.org/project/pyflakes/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -594,7 +594,7 @@ For more, see [Pyflakes](https://pypi.org/project/pyflakes/2.5.0/) on PyPI. ### pycodestyle (E, W) -For more, see [pycodestyle](https://pypi.org/project/pycodestyle/2.9.1/) on PyPI. +For more, see [pycodestyle](https://pypi.org/project/pycodestyle/) on PyPI. #### Error (E) | Code | Name | Message | Fix | @@ -625,7 +625,7 @@ For more, see [pycodestyle](https://pypi.org/project/pycodestyle/2.9.1/) on PyPI ### mccabe (C90) -For more, see [mccabe](https://pypi.org/project/mccabe/0.7.0/) on PyPI. +For more, see [mccabe](https://pypi.org/project/mccabe/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -633,7 +633,7 @@ For more, see [mccabe](https://pypi.org/project/mccabe/0.7.0/) on PyPI. ### isort (I) -For more, see [isort](https://pypi.org/project/isort/5.10.1/) on PyPI. +For more, see [isort](https://pypi.org/project/isort/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -642,7 +642,7 @@ For more, see [isort](https://pypi.org/project/isort/5.10.1/) on PyPI. ### pydocstyle (D) -For more, see [pydocstyle](https://pypi.org/project/pydocstyle/6.1.1/) on PyPI. +For more, see [pydocstyle](https://pypi.org/project/pydocstyle/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -695,7 +695,7 @@ For more, see [pydocstyle](https://pypi.org/project/pydocstyle/6.1.1/) on PyPI. ### pyupgrade (UP) -For more, see [pyupgrade](https://pypi.org/project/pyupgrade/3.2.0/) on PyPI. +For more, see [pyupgrade](https://pypi.org/project/pyupgrade/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -735,7 +735,7 @@ For more, see [pyupgrade](https://pypi.org/project/pyupgrade/3.2.0/) on PyPI. ### pep8-naming (N) -For more, see [pep8-naming](https://pypi.org/project/pep8-naming/0.13.2/) on PyPI. +For more, see [pep8-naming](https://pypi.org/project/pep8-naming/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -757,7 +757,7 @@ For more, see [pep8-naming](https://pypi.org/project/pep8-naming/0.13.2/) on PyP ### flake8-2020 (YTT) -For more, see [flake8-2020](https://pypi.org/project/flake8-2020/1.7.0/) on PyPI. +For more, see [flake8-2020](https://pypi.org/project/flake8-2020/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -774,7 +774,7 @@ For more, see [flake8-2020](https://pypi.org/project/flake8-2020/1.7.0/) on PyPI ### flake8-annotations (ANN) -For more, see [flake8-annotations](https://pypi.org/project/flake8-annotations/2.9.1/) on PyPI. +For more, see [flake8-annotations](https://pypi.org/project/flake8-annotations/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -792,7 +792,7 @@ For more, see [flake8-annotations](https://pypi.org/project/flake8-annotations/2 ### flake8-bandit (S) -For more, see [flake8-bandit](https://pypi.org/project/flake8-bandit/4.1.1/) on PyPI. +For more, see [flake8-bandit](https://pypi.org/project/flake8-bandit/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -814,7 +814,7 @@ For more, see [flake8-bandit](https://pypi.org/project/flake8-bandit/4.1.1/) on ### flake8-blind-except (BLE) -For more, see [flake8-blind-except](https://pypi.org/project/flake8-blind-except/0.2.1/) on PyPI. +For more, see [flake8-blind-except](https://pypi.org/project/flake8-blind-except/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -822,7 +822,7 @@ For more, see [flake8-blind-except](https://pypi.org/project/flake8-blind-except ### flake8-boolean-trap (FBT) -For more, see [flake8-boolean-trap](https://pypi.org/project/flake8-boolean-trap/0.1.0/) on PyPI. +For more, see [flake8-boolean-trap](https://pypi.org/project/flake8-boolean-trap/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -832,7 +832,7 @@ For more, see [flake8-boolean-trap](https://pypi.org/project/flake8-boolean-trap ### flake8-bugbear (B) -For more, see [flake8-bugbear](https://pypi.org/project/flake8-bugbear/22.10.27/) on PyPI. +For more, see [flake8-bugbear](https://pypi.org/project/flake8-bugbear/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -867,7 +867,7 @@ For more, see [flake8-bugbear](https://pypi.org/project/flake8-bugbear/22.10.27/ ### flake8-builtins (A) -For more, see [flake8-builtins](https://pypi.org/project/flake8-builtins/2.0.1/) on PyPI. +For more, see [flake8-builtins](https://pypi.org/project/flake8-builtins/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -877,7 +877,7 @@ For more, see [flake8-builtins](https://pypi.org/project/flake8-builtins/2.0.1/) ### flake8-comprehensions (C4) -For more, see [flake8-comprehensions](https://pypi.org/project/flake8-comprehensions/3.10.1/) on PyPI. +For more, see [flake8-comprehensions](https://pypi.org/project/flake8-comprehensions/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -900,7 +900,7 @@ For more, see [flake8-comprehensions](https://pypi.org/project/flake8-comprehens ### flake8-debugger (T10) -For more, see [flake8-debugger](https://pypi.org/project/flake8-debugger/4.1.2/) on PyPI. +For more, see [flake8-debugger](https://pypi.org/project/flake8-debugger/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -908,7 +908,7 @@ For more, see [flake8-debugger](https://pypi.org/project/flake8-debugger/4.1.2/) ### flake8-errmsg (EM) -For more, see [flake8-errmsg](https://pypi.org/project/flake8-errmsg/0.4.0/) on PyPI. +For more, see [flake8-errmsg](https://pypi.org/project/flake8-errmsg/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -918,7 +918,7 @@ For more, see [flake8-errmsg](https://pypi.org/project/flake8-errmsg/0.4.0/) on ### flake8-implicit-str-concat (ISC) -For more, see [flake8-implicit-str-concat](https://pypi.org/project/flake8-implicit-str-concat/0.3.0/) on PyPI. +For more, see [flake8-implicit-str-concat](https://pypi.org/project/flake8-implicit-str-concat/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -936,7 +936,7 @@ For more, see [flake8-import-conventions](https://github.com/joaopalmeiro/flake8 ### flake8-print (T20) -For more, see [flake8-print](https://pypi.org/project/flake8-print/5.0.0/) on PyPI. +For more, see [flake8-print](https://pypi.org/project/flake8-print/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -945,7 +945,7 @@ For more, see [flake8-print](https://pypi.org/project/flake8-print/5.0.0/) on Py ### flake8-pytest-style (PT) -For more, see [flake8-pytest-style](https://pypi.org/project/flake8-pytest-style/1.6.0/) on PyPI. +For more, see [flake8-pytest-style](https://pypi.org/project/flake8-pytest-style/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -977,7 +977,7 @@ For more, see [flake8-pytest-style](https://pypi.org/project/flake8-pytest-style ### flake8-quotes (Q) -For more, see [flake8-quotes](https://pypi.org/project/flake8-quotes/3.3.1/) on PyPI. +For more, see [flake8-quotes](https://pypi.org/project/flake8-quotes/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -988,7 +988,7 @@ For more, see [flake8-quotes](https://pypi.org/project/flake8-quotes/3.3.1/) on ### flake8-return (RET) -For more, see [flake8-return](https://pypi.org/project/flake8-return/1.2.0/) on PyPI. +For more, see [flake8-return](https://pypi.org/project/flake8-return/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -1003,7 +1003,7 @@ For more, see [flake8-return](https://pypi.org/project/flake8-return/1.2.0/) on ### flake8-simplify (SIM) -For more, see [flake8-simplify](https://pypi.org/project/flake8-simplify/0.19.3/) on PyPI. +For more, see [flake8-simplify](https://pypi.org/project/flake8-simplify/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -1035,7 +1035,7 @@ For more, see [flake8-simplify](https://pypi.org/project/flake8-simplify/0.19.3/ ### flake8-tidy-imports (TID) -For more, see [flake8-tidy-imports](https://pypi.org/project/flake8-tidy-imports/4.8.0/) on PyPI. +For more, see [flake8-tidy-imports](https://pypi.org/project/flake8-tidy-imports/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -1044,7 +1044,7 @@ For more, see [flake8-tidy-imports](https://pypi.org/project/flake8-tidy-imports ### flake8-unused-arguments (ARG) -For more, see [flake8-unused-arguments](https://pypi.org/project/flake8-unused-arguments/0.0.12/) on PyPI. +For more, see [flake8-unused-arguments](https://pypi.org/project/flake8-unused-arguments/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -1056,7 +1056,7 @@ For more, see [flake8-unused-arguments](https://pypi.org/project/flake8-unused-a ### flake8-datetimez (DTZ) -For more, see [flake8-datetimez](https://pypi.org/project/flake8-datetimez/20.10.0/) on PyPI. +For more, see [flake8-datetimez](https://pypi.org/project/flake8-datetimez/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -1072,7 +1072,7 @@ For more, see [flake8-datetimez](https://pypi.org/project/flake8-datetimez/20.10 ### eradicate (ERA) -For more, see [eradicate](https://pypi.org/project/eradicate/2.1.0/) on PyPI. +For more, see [eradicate](https://pypi.org/project/eradicate/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -1080,7 +1080,7 @@ For more, see [eradicate](https://pypi.org/project/eradicate/2.1.0/) on PyPI. ### pandas-vet (PD) -For more, see [pandas-vet](https://pypi.org/project/pandas-vet/0.2.3/) on PyPI. +For more, see [pandas-vet](https://pypi.org/project/pandas-vet/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -1110,7 +1110,7 @@ For more, see [pygrep-hooks](https://github.com/pre-commit/pygrep-hooks) on GitH ### Pylint (PL) -For more, see [Pylint](https://pypi.org/project/pylint/2.15.7/) on PyPI. +For more, see [Pylint](https://pypi.org/project/pylint/) on PyPI. #### Convention (PLC) | Code | Name | Message | Fix | @@ -1143,7 +1143,7 @@ For more, see [Pylint](https://pypi.org/project/pylint/2.15.7/) on PyPI. ### flake8-pie (PIE) -For more, see [flake8-pie](https://pypi.org/project/flake8-pie/0.16.0/) on PyPI. +For more, see [flake8-pie](https://pypi.org/project/flake8-pie/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -1154,7 +1154,7 @@ For more, see [flake8-pie](https://pypi.org/project/flake8-pie/0.16.0/) on PyPI. ### flake8-commas (COM) -For more, see [flake8-commas](https://pypi.org/project/flake8-commas/2.1.0/) on PyPI. +For more, see [flake8-commas](https://pypi.org/project/flake8-commas/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -1164,7 +1164,7 @@ For more, see [flake8-commas](https://pypi.org/project/flake8-commas/2.1.0/) on ### flake8-no-pep420 (INP) -For more, see [flake8-no-pep420](https://pypi.org/project/flake8-no-pep420/2.3.0/) on PyPI. +For more, see [flake8-no-pep420](https://pypi.org/project/flake8-no-pep420/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -1172,7 +1172,7 @@ For more, see [flake8-no-pep420](https://pypi.org/project/flake8-no-pep420/2.3.0 ### flake8-executable (EXE) -For more, see [flake8-executable](https://pypi.org/project/flake8-executable/2.1.1/) on PyPI. +For more, see [flake8-executable](https://pypi.org/project/flake8-executable/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | @@ -1182,7 +1182,7 @@ For more, see [flake8-executable](https://pypi.org/project/flake8-executable/2.1 ### flake8-type-checking (TYP) -For more, see [flake8-type-checking](https://pypi.org/project/flake8-type-checking/2.3.0/) on PyPI. +For more, see [flake8-type-checking](https://pypi.org/project/flake8-type-checking/) on PyPI. | Code | Name | Message | Fix | | ---- | ---- | ------- | --- | diff --git a/build.rs b/build.rs index 111350c1faded..ecafa65218293 100644 --- a/build.rs +++ b/build.rs @@ -12,7 +12,7 @@ const RULES_SUBMODULE_DOC_PREFIX: &str = "//! Rules from "; /// The `src/rules/*/mod.rs` files are expected to have a first line such as the /// following: /// -/// //! Rules from [Pyflakes](https://pypi.org/project/pyflakes/2.5.0/). +/// //! Rules from [Pyflakes](https://pypi.org/project/pyflakes/). /// /// This function extracts the link label and url from these comments and /// generates the `name` and `url` functions for the `Linter` enum diff --git a/scripts/add_plugin.py b/scripts/add_plugin.py index c662ba7722f99..a26a4dd99dd2e 100755 --- a/scripts/add_plugin.py +++ b/scripts/add_plugin.py @@ -5,7 +5,7 @@ python scripts/add_plugin.py \ flake8-pie \ - --url https://pypi.org/project/flake8-pie/0.16.0/ + --url https://pypi.org/project/flake8-pie/ --prefix PIE """ @@ -25,7 +25,7 @@ def main(*, plugin: str, url: str, prefix_code: str) -> None: # Create the Plugin rules module. plugin_dir = ROOT_DIR / "src/rules" / dir_name(plugin) plugin_dir.mkdir(exist_ok=True) - + with (plugin_dir / "mod.rs").open("w+") as fp: fp.write(f"//! Rules from [{plugin}]({url}).\n") fp.write("pub(crate) mod rules;\n") @@ -98,7 +98,7 @@ def main(*, plugin: str, url: str, prefix_code: str) -> None: description="Generate boilerplate for a new Flake8 plugin.", epilog=( "Example usage: python scripts/add_plugin.py flake8-pie " - "--url https://pypi.org/project/flake8-pie/0.16.0/" + "--url https://pypi.org/project/flake8-pie/" ), ) parser.add_argument( diff --git a/src/rules/eradicate/mod.rs b/src/rules/eradicate/mod.rs index 1a850345ec189..bc2ce7baea0ab 100644 --- a/src/rules/eradicate/mod.rs +++ b/src/rules/eradicate/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [eradicate](https://pypi.org/project/eradicate/2.1.0/). +//! Rules from [eradicate](https://pypi.org/project/eradicate/). pub(crate) mod detection; pub(crate) mod rules; diff --git a/src/rules/flake8_2020/mod.rs b/src/rules/flake8_2020/mod.rs index 6e461617b365b..4aa8b5b403385 100644 --- a/src/rules/flake8_2020/mod.rs +++ b/src/rules/flake8_2020/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-2020](https://pypi.org/project/flake8-2020/1.7.0/). +//! Rules from [flake8-2020](https://pypi.org/project/flake8-2020/). pub(crate) mod rules; #[cfg(test)] diff --git a/src/rules/flake8_annotations/mod.rs b/src/rules/flake8_annotations/mod.rs index cd4d8f75c9193..19bb155de4370 100644 --- a/src/rules/flake8_annotations/mod.rs +++ b/src/rules/flake8_annotations/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-annotations](https://pypi.org/project/flake8-annotations/2.9.1/). +//! Rules from [flake8-annotations](https://pypi.org/project/flake8-annotations/). mod fixes; pub(crate) mod helpers; pub(crate) mod rules; diff --git a/src/rules/flake8_bandit/mod.rs b/src/rules/flake8_bandit/mod.rs index 44c51c6f4248b..a6a4bb25a7399 100644 --- a/src/rules/flake8_bandit/mod.rs +++ b/src/rules/flake8_bandit/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-bandit](https://pypi.org/project/flake8-bandit/4.1.1/). +//! Rules from [flake8-bandit](https://pypi.org/project/flake8-bandit/). mod helpers; pub(crate) mod rules; pub mod settings; diff --git a/src/rules/flake8_blind_except/mod.rs b/src/rules/flake8_blind_except/mod.rs index fdf0191596d20..d40e1e3c436c0 100644 --- a/src/rules/flake8_blind_except/mod.rs +++ b/src/rules/flake8_blind_except/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-blind-except](https://pypi.org/project/flake8-blind-except/0.2.1/). +//! Rules from [flake8-blind-except](https://pypi.org/project/flake8-blind-except/). pub(crate) mod rules; #[cfg(test)] diff --git a/src/rules/flake8_boolean_trap/mod.rs b/src/rules/flake8_boolean_trap/mod.rs index bd015787c6039..f1419eb2ef155 100644 --- a/src/rules/flake8_boolean_trap/mod.rs +++ b/src/rules/flake8_boolean_trap/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-boolean-trap](https://pypi.org/project/flake8-boolean-trap/0.1.0/). +//! Rules from [flake8-boolean-trap](https://pypi.org/project/flake8-boolean-trap/). pub(crate) mod rules; #[cfg(test)] diff --git a/src/rules/flake8_bugbear/mod.rs b/src/rules/flake8_bugbear/mod.rs index 7a6cafcf43d94..e4cdbb3e7be16 100644 --- a/src/rules/flake8_bugbear/mod.rs +++ b/src/rules/flake8_bugbear/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-bugbear](https://pypi.org/project/flake8-bugbear/22.10.27/). +//! Rules from [flake8-bugbear](https://pypi.org/project/flake8-bugbear/). pub(crate) mod rules; pub mod settings; diff --git a/src/rules/flake8_builtins/mod.rs b/src/rules/flake8_builtins/mod.rs index f482a4878d051..655ff404adf38 100644 --- a/src/rules/flake8_builtins/mod.rs +++ b/src/rules/flake8_builtins/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-builtins](https://pypi.org/project/flake8-builtins/2.0.1/). +//! Rules from [flake8-builtins](https://pypi.org/project/flake8-builtins/). pub(crate) mod rules; pub mod settings; pub(crate) mod types; diff --git a/src/rules/flake8_commas/mod.rs b/src/rules/flake8_commas/mod.rs index 09aa6841ad9da..fbf9f875bd775 100644 --- a/src/rules/flake8_commas/mod.rs +++ b/src/rules/flake8_commas/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-commas](https://pypi.org/project/flake8-commas/2.1.0/). +//! Rules from [flake8-commas](https://pypi.org/project/flake8-commas/). pub(crate) mod rules; #[cfg(test)] diff --git a/src/rules/flake8_comprehensions/mod.rs b/src/rules/flake8_comprehensions/mod.rs index a9231f09efa9d..353e6d21b28b7 100644 --- a/src/rules/flake8_comprehensions/mod.rs +++ b/src/rules/flake8_comprehensions/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-comprehensions](https://pypi.org/project/flake8-comprehensions/3.10.1/). +//! Rules from [flake8-comprehensions](https://pypi.org/project/flake8-comprehensions/). mod fixes; pub(crate) mod rules; diff --git a/src/rules/flake8_datetimez/mod.rs b/src/rules/flake8_datetimez/mod.rs index 67d82177d7ce7..39d989658e183 100644 --- a/src/rules/flake8_datetimez/mod.rs +++ b/src/rules/flake8_datetimez/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-datetimez](https://pypi.org/project/flake8-datetimez/20.10.0/). +//! Rules from [flake8-datetimez](https://pypi.org/project/flake8-datetimez/). pub(crate) mod rules; #[cfg(test)] diff --git a/src/rules/flake8_debugger/mod.rs b/src/rules/flake8_debugger/mod.rs index dffec36e2cab8..3e632b3253cb0 100644 --- a/src/rules/flake8_debugger/mod.rs +++ b/src/rules/flake8_debugger/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-debugger](https://pypi.org/project/flake8-debugger/4.1.2/). +//! Rules from [flake8-debugger](https://pypi.org/project/flake8-debugger/). pub(crate) mod rules; pub(crate) mod types; diff --git a/src/rules/flake8_errmsg/mod.rs b/src/rules/flake8_errmsg/mod.rs index 2d22235ef6286..2ead85d8a22c6 100644 --- a/src/rules/flake8_errmsg/mod.rs +++ b/src/rules/flake8_errmsg/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-errmsg](https://pypi.org/project/flake8-errmsg/0.4.0/). +//! Rules from [flake8-errmsg](https://pypi.org/project/flake8-errmsg/). pub(crate) mod rules; pub mod settings; diff --git a/src/rules/flake8_executable/mod.rs b/src/rules/flake8_executable/mod.rs index 7bad05429f050..379e3a004110f 100644 --- a/src/rules/flake8_executable/mod.rs +++ b/src/rules/flake8_executable/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-executable](https://pypi.org/project/flake8-executable/2.1.1/). +//! Rules from [flake8-executable](https://pypi.org/project/flake8-executable/). pub(crate) mod helpers; pub(crate) mod rules; diff --git a/src/rules/flake8_implicit_str_concat/mod.rs b/src/rules/flake8_implicit_str_concat/mod.rs index 67734a0505b20..1a6efee86a724 100644 --- a/src/rules/flake8_implicit_str_concat/mod.rs +++ b/src/rules/flake8_implicit_str_concat/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-implicit-str-concat](https://pypi.org/project/flake8-implicit-str-concat/0.3.0/). +//! Rules from [flake8-implicit-str-concat](https://pypi.org/project/flake8-implicit-str-concat/). pub(crate) mod rules; #[cfg(test)] diff --git a/src/rules/flake8_no_pep420/mod.rs b/src/rules/flake8_no_pep420/mod.rs index f444691591127..b54396b047553 100644 --- a/src/rules/flake8_no_pep420/mod.rs +++ b/src/rules/flake8_no_pep420/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-no-pep420](https://pypi.org/project/flake8-no-pep420/2.3.0/). +//! Rules from [flake8-no-pep420](https://pypi.org/project/flake8-no-pep420/). pub(crate) mod rules; #[cfg(test)] diff --git a/src/rules/flake8_pie/mod.rs b/src/rules/flake8_pie/mod.rs index 7914097aac15b..4afdeefdf7a9e 100644 --- a/src/rules/flake8_pie/mod.rs +++ b/src/rules/flake8_pie/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-pie](https://pypi.org/project/flake8-pie/0.16.0/). +//! Rules from [flake8-pie](https://pypi.org/project/flake8-pie/). pub(crate) mod rules; #[cfg(test)] diff --git a/src/rules/flake8_print/mod.rs b/src/rules/flake8_print/mod.rs index 75ccfc2911745..3f2264eec33be 100644 --- a/src/rules/flake8_print/mod.rs +++ b/src/rules/flake8_print/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-print](https://pypi.org/project/flake8-print/5.0.0/). +//! Rules from [flake8-print](https://pypi.org/project/flake8-print/). pub(crate) mod rules; #[cfg(test)] diff --git a/src/rules/flake8_pytest_style/mod.rs b/src/rules/flake8_pytest_style/mod.rs index d04771c7f02b9..0299c17750398 100644 --- a/src/rules/flake8_pytest_style/mod.rs +++ b/src/rules/flake8_pytest_style/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-pytest-style](https://pypi.org/project/flake8-pytest-style/1.6.0/). +//! Rules from [flake8-pytest-style](https://pypi.org/project/flake8-pytest-style/). pub(crate) mod rules; pub mod settings; pub mod types; diff --git a/src/rules/flake8_quotes/mod.rs b/src/rules/flake8_quotes/mod.rs index 080b06e2cdbac..bcec1abe654d4 100644 --- a/src/rules/flake8_quotes/mod.rs +++ b/src/rules/flake8_quotes/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-quotes](https://pypi.org/project/flake8-quotes/3.3.1/). +//! Rules from [flake8-quotes](https://pypi.org/project/flake8-quotes/). pub(crate) mod rules; pub mod settings; diff --git a/src/rules/flake8_return/mod.rs b/src/rules/flake8_return/mod.rs index 8498f17edfd8e..759c2692cec52 100644 --- a/src/rules/flake8_return/mod.rs +++ b/src/rules/flake8_return/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-return](https://pypi.org/project/flake8-return/1.2.0/). +//! Rules from [flake8-return](https://pypi.org/project/flake8-return/). mod helpers; pub(crate) mod rules; mod visitor; diff --git a/src/rules/flake8_simplify/mod.rs b/src/rules/flake8_simplify/mod.rs index 24184781de711..971ac7e456964 100644 --- a/src/rules/flake8_simplify/mod.rs +++ b/src/rules/flake8_simplify/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-simplify](https://pypi.org/project/flake8-simplify/0.19.3/). +//! Rules from [flake8-simplify](https://pypi.org/project/flake8-simplify/). pub(crate) mod rules; #[cfg(test)] diff --git a/src/rules/flake8_tidy_imports/mod.rs b/src/rules/flake8_tidy_imports/mod.rs index d76ff4abc16f1..2b58e26d7e6f9 100644 --- a/src/rules/flake8_tidy_imports/mod.rs +++ b/src/rules/flake8_tidy_imports/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-tidy-imports](https://pypi.org/project/flake8-tidy-imports/4.8.0/). +//! Rules from [flake8-tidy-imports](https://pypi.org/project/flake8-tidy-imports/). pub mod options; pub mod banned_api; diff --git a/src/rules/flake8_type_checking/mod.rs b/src/rules/flake8_type_checking/mod.rs index 386400e64089b..11f4d298a6b35 100644 --- a/src/rules/flake8_type_checking/mod.rs +++ b/src/rules/flake8_type_checking/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-type-checking](https://pypi.org/project/flake8-type-checking/2.3.0/). +//! Rules from [flake8-type-checking](https://pypi.org/project/flake8-type-checking/). pub(crate) mod rules; #[cfg(test)] diff --git a/src/rules/flake8_unused_arguments/mod.rs b/src/rules/flake8_unused_arguments/mod.rs index b1814cc8f5fa0..c5e61c028fc60 100644 --- a/src/rules/flake8_unused_arguments/mod.rs +++ b/src/rules/flake8_unused_arguments/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [flake8-unused-arguments](https://pypi.org/project/flake8-unused-arguments/0.0.12/). +//! Rules from [flake8-unused-arguments](https://pypi.org/project/flake8-unused-arguments/). mod helpers; pub(crate) mod rules; pub mod settings; diff --git a/src/rules/isort/mod.rs b/src/rules/isort/mod.rs index 71819735a1b86..a93ea51430079 100644 --- a/src/rules/isort/mod.rs +++ b/src/rules/isort/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [isort](https://pypi.org/project/isort/5.10.1/). +//! Rules from [isort](https://pypi.org/project/isort/). use std::cmp::Ordering; use std::collections::{BTreeMap, BTreeSet}; use std::path::{Path, PathBuf}; diff --git a/src/rules/mccabe/mod.rs b/src/rules/mccabe/mod.rs index 3ffe210556325..2355f632d2e46 100644 --- a/src/rules/mccabe/mod.rs +++ b/src/rules/mccabe/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [mccabe](https://pypi.org/project/mccabe/0.7.0/). +//! Rules from [mccabe](https://pypi.org/project/mccabe/). pub(crate) mod rules; pub mod settings; diff --git a/src/rules/pandas_vet/mod.rs b/src/rules/pandas_vet/mod.rs index 2991e56ae7931..182c0a22c1050 100644 --- a/src/rules/pandas_vet/mod.rs +++ b/src/rules/pandas_vet/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [pandas-vet](https://pypi.org/project/pandas-vet/0.2.3/). +//! Rules from [pandas-vet](https://pypi.org/project/pandas-vet/). pub(crate) mod helpers; pub(crate) mod rules; diff --git a/src/rules/pep8_naming/mod.rs b/src/rules/pep8_naming/mod.rs index 9e8cbe4628113..8f04fc309a5a8 100644 --- a/src/rules/pep8_naming/mod.rs +++ b/src/rules/pep8_naming/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [pep8-naming](https://pypi.org/project/pep8-naming/0.13.2/). +//! Rules from [pep8-naming](https://pypi.org/project/pep8-naming/). mod helpers; pub(crate) mod rules; pub mod settings; diff --git a/src/rules/pycodestyle/mod.rs b/src/rules/pycodestyle/mod.rs index 9fdb329cf6730..99aaf73ccac75 100644 --- a/src/rules/pycodestyle/mod.rs +++ b/src/rules/pycodestyle/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [pycodestyle](https://pypi.org/project/pycodestyle/2.9.1/). +//! Rules from [pycodestyle](https://pypi.org/project/pycodestyle/). pub(crate) mod rules; pub mod settings; diff --git a/src/rules/pydocstyle/mod.rs b/src/rules/pydocstyle/mod.rs index 912358eb57fdf..fb5209f76fc46 100644 --- a/src/rules/pydocstyle/mod.rs +++ b/src/rules/pydocstyle/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [pydocstyle](https://pypi.org/project/pydocstyle/6.1.1/). +//! Rules from [pydocstyle](https://pypi.org/project/pydocstyle/). pub(crate) mod helpers; pub(crate) mod rules; pub mod settings; diff --git a/src/rules/pyflakes/mod.rs b/src/rules/pyflakes/mod.rs index 04cd165839fcc..5f55d82715b0c 100644 --- a/src/rules/pyflakes/mod.rs +++ b/src/rules/pyflakes/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [Pyflakes](https://pypi.org/project/pyflakes/2.5.0/). +//! Rules from [Pyflakes](https://pypi.org/project/pyflakes/). pub(crate) mod cformat; pub(crate) mod fixes; pub(crate) mod format; diff --git a/src/rules/pylint/mod.rs b/src/rules/pylint/mod.rs index bf8dcc224929a..0fa6f27e1c5a1 100644 --- a/src/rules/pylint/mod.rs +++ b/src/rules/pylint/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [Pylint](https://pypi.org/project/pylint/2.15.7/). +//! Rules from [Pylint](https://pypi.org/project/pylint/). pub(crate) mod rules; pub mod settings; diff --git a/src/rules/pyupgrade/mod.rs b/src/rules/pyupgrade/mod.rs index 0d218117bd8f0..6daf9b39c4877 100644 --- a/src/rules/pyupgrade/mod.rs +++ b/src/rules/pyupgrade/mod.rs @@ -1,4 +1,4 @@ -//! Rules from [pyupgrade](https://pypi.org/project/pyupgrade/3.2.0/). +//! Rules from [pyupgrade](https://pypi.org/project/pyupgrade/). mod fixes; mod helpers; pub(crate) mod rules;