Fakultas Ilmu Komputer UI

Commit 73b4cecf authored by Dave Nathanael's avatar Dave Nathanael
Browse files

Merge branch 'dave/setup-linter' into 'staging'

[CHORES] Setup linter and autoformatter

See merge request !17
parents 66d8cdb5 ee745fce
Pipeline #36884 passed with stages
in 4 minutes and 36 seconds
......@@ -14,6 +14,8 @@ test:
- python manage.py runserver 8000 &
when: on_success
script:
- echo "Starting linter"
- sh lint.sh
- echo "Starting tests"
- coverage erase
- coverage run --include="./*/*" --omit="./env/*","./project/*","./manage.py" manage.py test apps
......
......@@ -43,6 +43,6 @@ class Migration(migrations.Migration):
),
),
],
options={"verbose_name_plural": "accounts", "db_table": "account",},
options={"verbose_name_plural": "accounts", "db_table": "account", },
),
]
autopep8 -iraav apps
pycodestyle --show-source --show-pep8 apps
\ No newline at end of file
appdirs==1.4.3
asgiref==3.2.3
attrs==19.3.0
black==19.10b0
autopep8==1.5
Click==7.0
coverage==5.0.3
dj-database-url==0.5.0
Django==3.0.1
django-cors-headers==3.2.0
django-filter==2.2.0
djangorestframework==3.11.0
entrypoints==0.3
factory-boy==2.12.0
Faker==4.0.1
gunicorn==20.0.4
mccabe==0.6.1
pathspec==0.7.0
psycopg2-binary==2.8.4
pycodestyle==2.5.0
pyflakes==2.1.1
python-dateutil==2.8.1
python-dotenv==0.11.0
pytz==2019.3
......
[pycodestyle]
max-line-length = 100
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment