Skip to content

Commit

Permalink
ignore migrations on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KeoH committed Apr 25, 2018
1 parent a84e193 commit 21e2fc8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ django_keoh_userprofile.egg-info/
.vscode/
.tox/
.cov_html/
.pytest_cache/
.pytest_cache/
.coverage
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ author = Francisco Manzano
[tool:pytest]
flake8-ignore =
docs/source/conf.py ALL
user_profile/migrations/*.py ALL

addopts=--flake8 -m "not wip" -vv --cov-report html:.cov_html --cov-report term --cov user_profile/

Expand Down
1 change: 0 additions & 1 deletion user_profile/admin.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from django.utils.safestring import mark_safe
from django.utils.translation import gettext_lazy as _

from .models import UserProfile

Expand Down

0 comments on commit 21e2fc8

Please sign in to comment.