From 0619b2f5c1fec08a12de1cd153b473c542bec9bb Mon Sep 17 00:00:00 2001 From: francisco souza <108725+fsouza@users.noreply.github.com> Date: Wed, 1 May 2024 23:39:10 -0400 Subject: [PATCH] all: reformat code following ruff upgrade --- samples/test_facebook_events.py | 1 + splinter/driver/__init__.py | 1 + tests/fake_django/settings.py | 1 + 3 files changed, 3 insertions(+) diff --git a/samples/test_facebook_events.py b/samples/test_facebook_events.py index e213a02f1..6e15d3f86 100755 --- a/samples/test_facebook_events.py +++ b/samples/test_facebook_events.py @@ -6,6 +6,7 @@ It creates an event by going to http://www.facebook.com, login and navigate to "Create an event" page. """ + import os import time import unittest diff --git a/splinter/driver/__init__.py b/splinter/driver/__init__.py index 414f2a105..831326fc5 100644 --- a/splinter/driver/__init__.py +++ b/splinter/driver/__init__.py @@ -4,6 +4,7 @@ """ This module contains the basic API for splinter drivers and elements. """ + from typing import Any from typing import Optional from typing import Type diff --git a/tests/fake_django/settings.py b/tests/fake_django/settings.py index c382f089d..939ca0244 100644 --- a/tests/fake_django/settings.py +++ b/tests/fake_django/settings.py @@ -7,6 +7,7 @@ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ + # Build paths inside the project like this: os.path.join(BASE_DIR, ...) import os