8000 use ruff · scikit-learn/scikit-learn@73afe2a · GitHub
[go: up one dir, main page]

Skip to content

Commit 73afe2a

Browse files
committed
use ruff
1 parent 43dbec5 commit 73afe2a

9 files changed

+9
-9
lines changed

doc/tutorial/machine_learning_map/pyparsing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
2222
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2323
#
24-
# flake8: noqa
24+
# ruff: noqa
2525

2626
__doc__ = \
2727
"""

examples/release_highlights/plot_release_highlights_0_23_0.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# flake8: noqa
1+
# ruff: noqa
22
"""
33
========================================
44
Release Highlights for scikit-learn 0.23

examples/release_highlights/plot_release_highlights_0_24_0.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# flake8: noqa
1+
# ruff: noqa
22
"""
33
========================================
44
Release Highlights for scikit-learn 0.24

examples/release_highlights/plot_release_highlights_1_0_0.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# flake8: noqa
1+
# ruff: noqa
22
"""
33
=======================================
44 8000
Release Highlights for scikit-learn 1.0

examples/release_highlights/plot_release_highlights_1_1_0.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# flake8: noqa
1+
# ruff: noqa
22
"""
33
=======================================
44
Release Highlights for scikit-learn 1.1

examples/release_highlights/plot_release_highlights_1_2_0.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# flake8: noqa
1+
# ruff: noqa
22
"""
33
=======================================
44
Release Highlights for scikit-learn 1.2

examples/release_highlights/plot_release_highlights_1_3_0.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# flake8: noqa
1+
# ruff: noqa
22
"""
33
=======================================
44
Release Highlights for scikit-learn 1.3

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ exclude=[
8383
# + E501 (line too long) because keeping it < 88 in cython
8484
# often makes code less readable.
8585
ignore = [
86-
# check ignored by default in flake8. Meaning unclear.
86+
# multiple spaces/tab after comma
8787
'E24',
8888
# space before : (needed for how black formats slicing)
8989
'E203',

sklearn/utils/tests/test_pprint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
# Ignore flake8 (lots of line too long issues)
15-
# flake8: noqa
15+
# ruff: noqa
1616

1717

1818
# Constructors excerpted to test pprinting

0 commit comments

Comments
 (0)
0