Skip to content

Commit

Permalink
all pyc files removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahtisham.shahid authored and Ahtisham.shahid committed Aug 6, 2019
1 parent 2694676 commit f4d5298
Show file tree
Hide file tree
Showing 54 changed files with 36 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
mysql
.idea
*.pyc
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ install: # => 5
before_script: # => 6
- mysql -e 'create database test;' -u root
script: # => 7
- python manage.py test
- python manage.py test
- pylint --load-plugins pylint_django blog/
- pylint --load-plugins pylint_django polls/
- pylint --load-plugins pylint_django posts/
Binary file removed __pycache__/manage.cpython-36.pyc
Binary file not shown.
Binary file removed myproject/__pycache__/__init__.cpython-36.pyc
Binary file not shown.
Binary file removed myproject/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file removed myproject/__pycache__/settings.cpython-36.pyc
Binary file not shown.
Binary file removed myproject/__pycache__/settings.cpython-37.pyc
Binary file not shown.
Binary file removed myproject/__pycache__/urls.cpython-36.pyc
Binary file not shown.
Binary file removed myproject/__pycache__/urls.cpython-37.pyc
Binary file not shown.
Binary file removed myproject/__pycache__/wsgi.cpython-36.pyc
Binary file not shown.
Binary file removed myproject/__pycache__/wsgi.cpython-37.pyc
Binary file not shown.
32 changes: 21 additions & 11 deletions myproject/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,28 @@
# 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
# }
# }

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'test',
'USER': 'root',
'PASSWORD': '',
'HOST': 'localhost',
'PORT': '3306',
if 'TRAVIS' in os.environ:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'test',
'USER': 'root',
'PASSWORD': '',
'HOST': 'localhost',
'PORT': '3306',
}
}
else:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'django',
'USER': 'root',
'PASSWORD': 'root',
'HOST': 'db',
'PORT': '3306',
}
}
}

# Password validation
# https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators

Expand Down
Binary file removed polls/__pycache__/__init__.cpython-36.pyc
Binary file not shown.
Binary file removed polls/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file removed polls/__pycache__/admin.cpython-36.pyc
Binary file not shown.
Binary file removed polls/__pycache__/admin.cpython-37.pyc
Binary file not shown.
Binary file removed polls/__pycache__/apps.cpython-36.pyc
Binary file not shown.
Binary file removed polls/__pycache__/apps.cpython-37.pyc
Binary file not shown.
Binary file removed polls/__pycache__/models.cpython-36.pyc
Binary file not shown.
Binary file removed polls/__pycache__/models.cpython-37.pyc
Binary file not shown.
Binary file removed polls/__pycache__/tests.cpython-36.pyc
Binary file not shown.
Binary file removed polls/__pycache__/urls.cpython-36.pyc
Binary file not shown.
Binary file removed polls/__pycache__/urls.cpython-37.pyc
Binary file not shown.
Binary file removed polls/__pycache__/views.cpython-36.pyc
Binary file not shown.
Binary file removed polls/__pycache__/views.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed polls/migrations/__pycache__/__init__.cpython-36.pyc
Binary file not shown.
Binary file removed polls/migrations/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file removed posts/__pycache__/__init__.cpython-36.pyc
Binary file not shown.
Binary file removed posts/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file removed posts/__pycache__/admin.cpython-36.pyc
Binary file not shown.
Binary file removed posts/__pycache__/admin.cpython-37.pyc
Binary file not shown.
Binary file removed posts/__pycache__/apps.cpython-36.pyc
Binary file not shown.
Binary file removed posts/__pycache__/apps.cpython-37.pyc
Binary file not shown.
Binary file removed posts/__pycache__/models.cpython-36.pyc
Binary file not shown.
Binary file removed posts/__pycache__/models.cpython-37.pyc
Binary file not shown.
Binary file removed posts/__pycache__/urls.cpython-36.pyc
Binary file not shown.
Binary file removed posts/__pycache__/urls.cpython-37.pyc
Binary file not shown.
Binary file removed posts/migrations/__pycache__/0001_initial.cpython-36.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed posts/migrations/__pycache__/__init__.cpython-36.pyc
Binary file not shown.
Binary file removed posts/migrations/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file removed posts/views/__pycache__/__init__.cpython-36.pyc
Binary file not shown.
Binary file removed posts/views/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file removed posts/views/__pycache__/comment_view.cpython-36.pyc
Binary file not shown.
Binary file removed posts/views/__pycache__/comment_view.cpython-37.pyc
Binary file not shown.
Binary file removed posts/views/__pycache__/post_view.cpython-36.pyc
Binary file not shown.
Binary file removed posts/views/__pycache__/post_view.cpython-37.pyc
Binary file not shown.
10 changes: 10 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
astroid==2.2.5
Django==2.2.3
isort==4.3.21
lazy-object-proxy==1.4.1
mccabe==0.6.1
mysqlclient==1.4.2.post1
Pillow==6.1.0
pylint==2.3.1
pylint-django==2.0.11
pylint-plugin-utils==0.5
pytz==2019.1
six==1.12.0
sqlparse==0.3.0
typed-ast==1.4.0
wrapt==1.11.2

0 comments on commit f4d5298

Please sign in to comment.