Fix black formatting issues

This commit is contained in:
Bruno Alla 2020-08-27 09:41:28 +02:00
parent 0dc3fe0b3d
commit e21869c1d4
2 changed files with 9 additions and 4 deletions

View File

@ -175,7 +175,10 @@ def test_black_passes(cookies, context_override):
@pytest.mark.parametrize( @pytest.mark.parametrize(
["use_docker", "expected_test_script"], ["use_docker", "expected_test_script"],
[("n", "pytest"), ("y", "docker-compose -f local.yml run django pytest"),], [
("n", "pytest"),
("y", "docker-compose -f local.yml run django pytest"),
],
) )
def test_travis_invokes_pytest(cookies, context, use_docker, expected_test_script): def test_travis_invokes_pytest(cookies, context, use_docker, expected_test_script):
context.update({"ci_tool": "Travis", "use_docker": use_docker}) context.update({"ci_tool": "Travis", "use_docker": use_docker})
@ -197,7 +200,10 @@ def test_travis_invokes_pytest(cookies, context, use_docker, expected_test_scrip
@pytest.mark.parametrize( @pytest.mark.parametrize(
["use_docker", "expected_test_script"], ["use_docker", "expected_test_script"],
[("n", "pytest"), ("y", "docker-compose -f local.yml run django pytest"),], [
("n", "pytest"),
("y", "docker-compose -f local.yml run django pytest"),
],
) )
def test_gitlab_invokes_flake8_and_pytest( def test_gitlab_invokes_flake8_and_pytest(
cookies, context, use_docker, expected_test_script cookies, context, use_docker, expected_test_script

View File

@ -5,8 +5,7 @@ from django.utils.translation import gettext_lazy as _
class User(AbstractUser): class User(AbstractUser):
"""Default user for {{cookiecutter.project_name}}. """Default user for {{cookiecutter.project_name}}."""
"""
#: First and last name do not cover name patterns around the globe #: First and last name do not cover name patterns around the globe
name = CharField(_("Name of User"), blank=True, max_length=255) name = CharField(_("Name of User"), blank=True, max_length=255)