Skip to content

Commit

Permalink
Table names clean up and Update Pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwin1111 authored Dec 23, 2020
1 parent 39d7e1a commit 6f55809
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Pylint Check

on:
pull_request:
Expand All @@ -11,8 +11,8 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: GitHub Action for pylint
uses: cclauss/[email protected]
- name: Python Pylin GitHub Action
uses: fylein/python-pylint-github-action@v4
with:
args: pip install -r requirements.txt && pylint --load-plugins pylint_django --rcfile=.pylintrc **/**
args: pip3 install -r requirements.txt && pip install pylint-django && pylint --load-plugins pylint_django --rcfile=.pylintrc **/**.py

17 changes: 17 additions & 0 deletions fyle_rest_auth/migrations/0006_auto_20201221_0849.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 3.0.3 on 2020-12-21 08:49

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('fyle_rest_auth', '0005_remove_authtoken_access_token'),
]

operations = [
migrations.AlterModelTable(
name='authtoken',
table='auth_tokens',
),
]
3 changes: 3 additions & 0 deletions fyle_rest_auth/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ class AuthToken(models.Model):
id = models.AutoField(primary_key=True)
user = models.OneToOneField(User, on_delete=models.PROTECT, help_text='User table relation')
refresh_token = models.TextField(help_text='Fyle refresh token')

class Meta:
db_table = 'auth_tokens'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name='fyle-rest-auth',
version='0.6.0',
version='0.7.0',
author='Shwetabh Kumar',
author_email='[email protected]',
description='Django application to implement OAuth 2.0 using Fyle in Django rest framework',
Expand Down

0 comments on commit 6f55809

Please sign in to comment.