Skip to content

Commit

Permalink
Bugfix: Remove version numbers from pypi links (#5579)
Browse files Browse the repository at this point in the history
## Summary

There are two pypi links in the documentation that link to specific
version numbers of other packages. Removing these versioned links allows
users to immediately view the latest version of the package and
maintains consistency with the other links.

## Test Plan

N/A
  • Loading branch information
petermattia committed Jul 7, 2023
1 parent b22e6c3 commit aaab9f1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/ruff/src/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ pub enum Linter {
/// [flake8-import-conventions](https://github.com/joaopalmeiro/flake8-import-conventions)
#[prefix = "ICN"]
Flake8ImportConventions,
/// [flake8-logging-format](https://pypi.org/project/flake8-logging-format/0.9.0/)
/// [flake8-logging-format](https://pypi.org/project/flake8-logging-format/)
#[prefix = "G"]
Flake8LoggingFormat,
/// [flake8-no-pep420](https://pypi.org/project/flake8-no-pep420/)
Expand Down Expand Up @@ -181,7 +181,7 @@ pub enum Linter {
/// [Pylint](https://pypi.org/project/pylint/)
#[prefix = "PL"]
Pylint,
/// [tryceratops](https://pypi.org/project/tryceratops/1.1.0/)
/// [tryceratops](https://pypi.org/project/tryceratops/)
#[prefix = "TRY"]
Tryceratops,
/// [flynt](https://pypi.org/project/flynt/)
Expand Down
2 changes: 1 addition & 1 deletion crates/ruff/src/rules/flake8_logging_format/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Rules from [flake8-logging-format](https://pypi.org/project/flake8-logging-format/0.9.0/).
//! Rules from [flake8-logging-format](https://pypi.org/project/flake8-logging-format/).
pub(crate) mod rules;
pub(crate) mod violations;

Expand Down
2 changes: 1 addition & 1 deletion crates/ruff/src/rules/tryceratops/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Rules from [tryceratops](https://pypi.org/project/tryceratops/1.1.0/).
//! Rules from [tryceratops](https://pypi.org/project/tryceratops/).
pub(crate) mod helpers;
pub(crate) mod rules;

Expand Down

0 comments on commit aaab9f1

Please sign in to comment.