Skip to content

Commit

Permalink
add license/copyright to src files
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaney committed Apr 1, 2021
1 parent 2dadcfa commit 9aa027d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pycodestyle coverage coveralls==2.2.0
pip install coverage coveralls==2.2.0
npm install -g jshint
- name: Upgrade Django Version
Expand All @@ -81,8 +81,11 @@ jobs:
test -f ${CONF_PATH}/urls.py && cp ${CONF_PATH}/urls.py project/
test -f ${CONF_PATH}/settings.py && cat ${CONF_PATH}/settings.py >> project/settings.py
- name: Run Pycodestyle
run: pycodestyle ${APP_NAME}/ --exclude=migrations
- name: Run Python Linters
uses: uw-it-aca/actions/python-linters@main
with:
app_name: ${APP_NAME}
exclude_paths: 'migrations'

- name: Run JSHint
run: jshint ${APP_NAME}/static/${APP_NAME}/js --verbose
Expand Down
3 changes: 3 additions & 0 deletions grade_conversion_calculator/tests/test_views.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright 2021 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

from django.test import TestCase
from django.urls import reverse

Expand Down
3 changes: 3 additions & 0 deletions grade_conversion_calculator/urls.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright 2021 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

from django.urls import re_path
from grade_conversion_calculator.views import demo

Expand Down
3 changes: 3 additions & 0 deletions grade_conversion_calculator/views.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright 2021 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

from django.shortcuts import render


Expand Down

0 comments on commit 9aa027d

Please sign in to comment.