Skip to content

Commit

Permalink
missing black changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeengland committed Jan 26, 2020
1 parent 49b01cb commit 216b16c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions setty/tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# Database
# https://docs.djangoproject.com/en/2.0/ref/settings/#databases

DATABASES = {'default': {'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), }}
DATABASES = {'default': {'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),}}


# Application definition
Expand Down Expand Up @@ -78,10 +78,10 @@
# https://docs.djangoproject.com/en/2.0/ref/settings/#auth-password-validators

AUTH_PASSWORD_VALIDATORS = [
{'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', },
{'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', },
{'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', },
{'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', },
{'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',},
{'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',},
{'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',},
{'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',},
]

# Internationalization
Expand Down
4 changes: 2 additions & 2 deletions setty/tests/test_backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ def test_get_returns_dict(self):

def test_set_invalid_setting_raises_exception(self):
with self.assertRaisesMessage(
SettingDoesNotExistError,
f'Error setting value for invalid - ' f'this setting does not exist in the database!',
SettingDoesNotExistError,
f'Error setting value for invalid - ' f'this setting does not exist in the database!',
):
self.backend.set('invalid', True)

Expand Down

0 comments on commit 216b16c

Please sign in to comment.