Skip to content

Commit d246d61

Browse files
committed
Fix pep8 to not look at south_migrations.
1 parent a09a3b2 commit d246d61

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ notifications:
77
88
env:
99
# test the standalone functionality
10-
- DJANGO=1.6.5 CUSTOM_USER_MODEL=0 MODE=standalone REQUIREMENTS=development6 SETTINGS=facebook_example.settings TESTS=django_facebook open_facebook
11-
- DJANGO=1.6.5 CUSTOM_USER_MODEL=1 MODE=standalone REQUIREMENTS=development6 SETTINGS=facebook_example.settings TESTS=django_facebook open_facebook
10+
- DJANGO=1.6.8 CUSTOM_USER_MODEL=0 MODE=standalone REQUIREMENTS=development6 SETTINGS=facebook_example.settings TESTS=django_facebook open_facebook
11+
- DJANGO=1.6.8 CUSTOM_USER_MODEL=1 MODE=standalone REQUIREMENTS=development6 SETTINGS=facebook_example.settings TESTS=django_facebook open_facebook
1212
- DJANGO=1.7.1 CUSTOM_USER_MODEL=0 MODE=standalone REQUIREMENTS=development7 SETTINGS=facebook_example.settings TESTS=django_facebook open_facebook
1313
- DJANGO=1.7.1 CUSTOM_USER_MODEL=1 MODE=standalone REQUIREMENTS=development7 SETTINGS=facebook_example.settings TESTS=django_facebook open_facebook
1414
postgres:
@@ -24,7 +24,7 @@ install:
2424
- pip install -r facebook_example/requirements/$REQUIREMENTS.txt --use-mirrors -I --allow-all-external
2525
- pip install -q Django==$DJANGO --use-mirrors -I
2626
before_script:
27-
- "pep8 --exclude=migrations --ignore=E501,E225,W293 django_facebook open_facebook"
27+
- "pep8 --exclude=south_migrations --ignore=E501,E225,W293 django_facebook open_facebook"
2828
# - pyflakes -x W src
2929
script:
3030
- pip install -e .

django_facebook/south_migrations/0001_initial.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ def forwards(self, orm):
135135
))
136136
db.send_create_signal(u'django_facebook', ['OpenGraphShare'])
137137

138+
138139
def backwards(self, orm):
139140
# Removing unique constraint on 'FacebookLike', fields ['user_id', 'facebook_id']
140141
db.delete_unique(u'django_facebook_facebooklike', ['user_id', 'facebook_id'])
@@ -163,6 +164,7 @@ def backwards(self, orm):
163164
# Deleting model 'OpenGraphShare'
164165
db.delete_table('django_facebook_open_graph_share')
165166

167+
166168
models = {
167169
u'auth.group': {
168170
'Meta': {'object_name': 'Group'},

0 commit comments

Comments
 (0)