From c4436619eb917d43aace9274cb55b8eebdf5fbd5 Mon Sep 17 00:00:00 2001 From: Marco Bonetti Date: Thu, 14 Nov 2024 09:13:27 +0100 Subject: [PATCH] chore: fix some whitespace issues by applying pre-commits ruff hooks on the whole codebase --- .gitignore | 2 +- .readthedocs.yaml | 2 -- captcha/management/commands/captcha_create_pool.py | 1 - captcha/migrations/0001_initial.py | 1 - captcha/migrations/0002_alter_captchastore_id.py | 1 - docs/advanced.rst | 1 - 6 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 41acc93..eef0f60 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,4 @@ testproject/.coverage testproject/coverage.xml testproject/htmlcov/ .tox -.idea \ No newline at end of file +.idea diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 084660d..06c9472 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -14,5 +14,3 @@ sphinx: python: install: - requirements: docs/requirements.txt - - diff --git a/captcha/management/commands/captcha_create_pool.py b/captcha/management/commands/captcha_create_pool.py index ef08905..588c28c 100644 --- a/captcha/management/commands/captcha_create_pool.py +++ b/captcha/management/commands/captcha_create_pool.py @@ -5,7 +5,6 @@ class Command(BaseCommand): - help = "Create a pool of random captchas." def add_arguments(self, parser): diff --git a/captcha/migrations/0001_initial.py b/captcha/migrations/0001_initial.py index e12b7ef..01f5521 100644 --- a/captcha/migrations/0001_initial.py +++ b/captcha/migrations/0001_initial.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [] operations = [ diff --git a/captcha/migrations/0002_alter_captchastore_id.py b/captcha/migrations/0002_alter_captchastore_id.py index 472352d..2c89e16 100644 --- a/captcha/migrations/0002_alter_captchastore_id.py +++ b/captcha/migrations/0002_alter_captchastore_id.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("captcha", "0001_initial"), ] diff --git a/docs/advanced.rst b/docs/advanced.rst index 1f35912..44430bd 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -307,4 +307,3 @@ This sample generator that returns six random digits:: for i in range(6): ret += str(random.randint(0,9)) return ret, ret -