Fix black error

master
James Curtin 5 years ago committed by James Curtin
parent e8c9af4751
commit 524b8ada30
  1. 2
      {{cookiecutter.app_name}}/Pipfile
  2. 4
      {{cookiecutter.app_name}}/tests/settings.py

@ -50,7 +50,7 @@ factory-boy = "==2.12.*"
pdbpp = "==0.10.2" pdbpp = "==0.10.2"
# Lint and code style # Lint and code style
black = "==19.3b0" black = "==19.10b0"
flake8 = "==3.7.9" flake8 = "==3.7.9"
flake8-blind-except = "==0.1.1" flake8-blind-except = "==0.1.1"
flake8-debugger = "==3.2.1" flake8-debugger = "==3.2.1"

@ -4,8 +4,8 @@ TESTING = True
SQLALCHEMY_DATABASE_URI = "sqlite://" SQLALCHEMY_DATABASE_URI = "sqlite://"
SECRET_KEY = "not-so-secret-in-tests" SECRET_KEY = "not-so-secret-in-tests"
BCRYPT_LOG_ROUNDS = ( BCRYPT_LOG_ROUNDS = (
4 4 # For faster tests; needs at least 4 to avoid "ValueError: Invalid rounds"
) # For faster tests; needs at least 4 to avoid "ValueError: Invalid rounds" )
DEBUG_TB_ENABLED = False DEBUG_TB_ENABLED = False
CACHE_TYPE = "simple" # Can be "memcached", "redis", etc. CACHE_TYPE = "simple" # Can be "memcached", "redis", etc.
SQLALCHEMY_TRACK_MODIFICATIONS = False SQLALCHEMY_TRACK_MODIFICATIONS = False

Loading…
Cancel
Save