ruff/crates/ruff_linter
Tuomas Siipola a53d59f6bd
Support floating-point base in FURB163 (#9100)
<!--
Thank you for contributing to Ruff! To help us out with reviewing,
please consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary

<!-- What's the purpose of the change? What does it do, and why? -->

Check floating-point numbers similarly to integers in FURB163. For
example, both `math.log(x, 10)` and `math.log(x, 10.0)` should be
changed to `math.log10(x)`.

## Test Plan

<!-- How was it tested? -->

Added couple of test cases.
2023-12-11 15:47:37 -05:00
..
resources/test Support floating-point base in FURB163 (#9100) 2023-12-11 15:47:37 -05:00
src Support floating-point base in FURB163 (#9100) 2023-12-11 15:47:37 -05:00
Cargo.toml Bump version to v0.1.7 (#8999) 2023-12-04 16:28:23 -05:00