Skip to content

Commit

Permalink
Address linter/formatter complaints (code style changes)
Browse files Browse the repository at this point in the history
  • Loading branch information
bittner committed Oct 3, 2024
1 parent 2a1c8f1 commit 4891fa0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 12 deletions.
1 change: 1 addition & 0 deletions behave_django/pageobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Background reading: https://www.martinfowler.com/bliki/PageObject.html
"""

import django.shortcuts
from bs4 import BeautifulSoup

Expand Down
6 changes: 0 additions & 6 deletions tests/test_project/settings.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
"""
Django settings for test_project project.
For more information on this file, see
https://docs.djangoproject.com/en/stable/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/stable/ref/settings/
"""

from pathlib import Path
Expand Down
4 changes: 4 additions & 0 deletions tests/test_project/urls.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
URLs config for test_project project.
"""

from django.contrib import admin
from django.urls import path
from django.views.generic import TemplateView
Expand Down
6 changes: 1 addition & 5 deletions tests/test_project/wsgi.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
"""
WSGI config for test_project project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/
"""

import os

from django.core.wsgi import get_wsgi_application
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def test_simple_and_use_existing_database_flags_raise_a_warning(self):
)
def test_runner_and_others_flags_raise_a_warning(self, arguments, expect_error):
exit_status, output = run_silently(
'python tests/manage.py behave %s --tags=@skip-all' % arguments
f'python tests/manage.py behave {arguments} --tags=@skip-all'
)
assert exit_status == 0, show_run_error(exit_status, output)

Expand Down

0 comments on commit 4891fa0

Please sign in to comment.