Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update linters pypi links to latest version #2062

Merged
merged 7 commits into from
Jan 22, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
72 changes: 36 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ The 🛠 emoji indicates that a rule is automatically fixable by the `--fix` com
<!-- Begin auto-generated sections. -->
### 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 |
| ---- | ---- | ------- | --- |
Expand Down Expand Up @@ -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 |
Expand Down Expand Up @@ -625,15 +625,15 @@ 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 |
| ---- | ---- | ------- | --- |
| C901 | function-is-too-complex | `{name}` is too complex ({complexity}) | |

### 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 |
| ---- | ---- | ------- | --- |
Expand All @@ -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 |
| ---- | ---- | ------- | --- |
Expand Down Expand Up @@ -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 |
| ---- | ---- | ------- | --- |
Expand Down Expand Up @@ -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 |
| ---- | ---- | ------- | --- |
Expand All @@ -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 |
| ---- | ---- | ------- | --- |
Expand All @@ -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 |
| ---- | ---- | ------- | --- |
Expand All @@ -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 |
| ---- | ---- | ------- | --- |
Expand All @@ -814,15 +814,15 @@ 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 |
| ---- | ---- | ------- | --- |
| BLE001 | blind-except | Do not catch blind exception: `{name}` | |

### 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 |
| ---- | ---- | ------- | --- |
Expand All @@ -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 |
| ---- | ---- | ------- | --- |
Expand Down Expand Up @@ -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 |
| ---- | ---- | ------- | --- |
Expand All @@ -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 |
| ---- | ---- | ------- | --- |
Expand All @@ -900,15 +900,15 @@ 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 |
| ---- | ---- | ------- | --- |
| T100 | debugger | Trace found: `{name}` used | |

### 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 |
| ---- | ---- | ------- | --- |
Expand All @@ -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 |
| ---- | ---- | ------- | --- |
Expand All @@ -928,15 +928,15 @@ 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.
For more, see [flake8-import-conventions](https://github.com/joaopalmeiro/flake8-import-conventions/) on GitHub.

| Code | Name | Message | Fix |
| ---- | ---- | ------- | --- |
| ICN001 | import-alias-is-not-conventional | `{name}` should be imported as `{asname}` | |

### 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 |
| ---- | ---- | ------- | --- |
Expand All @@ -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 |
| ---- | ---- | ------- | --- |
Expand Down Expand Up @@ -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 |
| ---- | ---- | ------- | --- |
Expand All @@ -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 |
| ---- | ---- | ------- | --- |
Expand All @@ -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 |
| ---- | ---- | ------- | --- |
Expand Down Expand Up @@ -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 |
| ---- | ---- | ------- | --- |
Expand All @@ -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 |
| ---- | ---- | ------- | --- |
Expand All @@ -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 |
| ---- | ---- | ------- | --- |
Expand All @@ -1072,15 +1072,15 @@ 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 |
| ---- | ---- | ------- | --- |
| ERA001 | commented-out-code | Found commented-out code | 🛠 |

### 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 |
| ---- | ---- | ------- | --- |
Expand All @@ -1099,7 +1099,7 @@ For more, see [pandas-vet](https://pypi.org/project/pandas-vet/0.2.3/) on PyPI.

### pygrep-hooks (PGH)

For more, see [pygrep-hooks](https://github.com/pre-commit/pygrep-hooks) on GitHub.
For more, see [pygrep-hooks](https://github.com/pre-commit/pygrep-hooks/) on GitHub.

| Code | Name | Message | Fix |
| ---- | ---- | ------- | --- |
Expand All @@ -1110,7 +1110,7 @@ For more, see [pygrep-hooks](https://github.com/pre-commit/pygrep-hooks) on GitH

### Pylint (PLC, PLE, PLR, PLW)

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 |
Expand Down Expand Up @@ -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 |
| ---- | ---- | ------- | --- |
Expand All @@ -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 |
| ---- | ---- | ------- | --- |
Expand All @@ -1164,15 +1164,15 @@ 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 |
| ---- | ---- | ------- | --- |
| INP001 | implicit-namespace-package | File `{filename}` is part of an implicit namespace package. Add an `__init__.py`. | |

### 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 |
| ---- | ---- | ------- | --- |
Expand All @@ -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 |
| ---- | ---- | ------- | --- |
Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/add_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/
charliermarsh marked this conversation as resolved.
Show resolved Hide resolved
--prefix PIE
"""

Expand Down
2 changes: 1 addition & 1 deletion src/rules/eradicate/mod.rs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/rules/flake8_2020/mod.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion src/rules/flake8_annotations/mod.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/rules/flake8_bandit/mod.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/rules/flake8_blind_except/mod.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion src/rules/flake8_boolean_trap/mod.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion src/rules/flake8_bugbear/mod.rs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/rules/flake8_builtins/mod.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/rules/flake8_commas/mod.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down