Просмотр исходного кода

Fix Black Autocorrect

Black attempted to spread a template line onto multiple. Cookiecutter
doesn't like this.
master
Nate Bohman 2 лет назад
Родитель
Сommit
80b61b4482
Подписано: Nate Bohman <natrinicle@gmail.com> Идентификатор GPG ключа: C10546A54ABA1CE5
1 измененных файлов: 1 добавлений и 12 удалений
  1. +1
    -12
      {{cookiecutter.project_slug}}/tests/test_{{cookiecutter.project_slug}}.py

+ 1
- 12
{{cookiecutter.project_slug}}/tests/test_{{cookiecutter.project_slug}}.py Просмотреть файл

@@ -13,19 +13,8 @@ from __future__ import (
import logging

import pytest
from {{cookiecutter.project_slug}} import ( # pylint: disable=invalid-name
'' }},
'_',
.replace,
=,
__name__,
logger,
logging.getLogger,
{{ cookiecutter.project_slug.title,
)

FIXTURE_PATH = "{}/fixtures".format(os.path.dirname(os.path.abspath(__file__)))

from {{ cookiecutter.project_slug }} import {{ (cookiecutter.project_slug.title()).replace('_', '') }}

class Test{{ (cookiecutter.project_slug.title()).replace('_', '') }}:
def test_one(self):

Загрузка…
Отмена
Сохранить