From 390e98d2bc013526c42c6c48404526b868de2629 Mon Sep 17 00:00:00 2001 From: Simon K Date: Sun, 11 Feb 2024 11:54:44 +0000 Subject: [PATCH] [py]: Update linting dependencies --- py/CHANGES | 2 +- py/test/unit/selenium/webdriver/support/color_tests.py | 2 +- py/tox.ini | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/py/CHANGES b/py/CHANGES index edb05c297e29a..a65f89ee8002d 100644 --- a/py/CHANGES +++ b/py/CHANGES @@ -1,5 +1,5 @@ Selenium 4.17.2 -* py] Correct typing_extension dependency for wheel generation +* [py] Correct typing_extension dependency for wheel generation Selenium 4.17.1 * Fix typo in setup.py (#13487) diff --git a/py/test/unit/selenium/webdriver/support/color_tests.py b/py/test/unit/selenium/webdriver/support/color_tests.py index d435bf6305481..58863676f4e76 100644 --- a/py/test/unit/selenium/webdriver/support/color_tests.py +++ b/py/test/unit/selenium/webdriver/support/color_tests.py @@ -20,7 +20,7 @@ def test_color_can_be_subclassed(): class MyColor(Color): - ... + pass assert isinstance(MyColor.from_string("rgb(1, 2, 3)"), MyColor) diff --git a/py/tox.ini b/py/tox.ini index ac2ffe65c3ede..ccbd578b67741 100644 --- a/py/tox.ini +++ b/py/tox.ini @@ -35,8 +35,8 @@ force_single_line = True ; checks linting for CI with stricter exiting when failing. skip_install = true deps = - isort==5.12.0 - black==23.9.1 + isort==5.13.2 + black==24.1.1 flake8==6.1.0 flake8-typing-imports==1.14.0 docformatter==1.7.5 @@ -54,8 +54,8 @@ commands = ; IMPORTANT: black & isort rewrite files, flake8 merely alerts to the failure. skip_install = true deps = - isort==5.12.0 - black==23.9.1 + isort==5.13.2 + black==24.1.1 flake8==6.1.0 flake8-typing-imports==1.14.0 docformatter==1.7.5