revert copyright year to project start

add copyright header to files
This commit is contained in:
David Lord 2018-02-08 10:57:40 -08:00
parent 9bf5c3b3a3
commit 310fbfcf64
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
52 changed files with 167 additions and 52 deletions

View file

@ -1,3 +1,12 @@
# -*- coding: utf-8 -*-
"""
Blueprint Example
~~~~~~~~~~~~~~~~~
:copyright: © 2010 by the Pallets team.
:license: BSD, see LICENSE for more details.
"""
from flask import Flask
from simple_page.simple_page import simple_page

View file

@ -1,10 +1,12 @@
# -*- coding: utf-8 -*-
"""
Blueprint Example Tests
~~~~~~~~~~~~~~
Blueprint Example Tests
~~~~~~~~~~~~~~~~~~~~~~~
Tests the Blueprint example app
:copyright: © 2010 by the Pallets team.
:license: BSD, see LICENSE for more details.
"""
import pytest
import blueprintexample

View file

@ -6,7 +6,7 @@
A microblog example application written as Flask tutorial with
Flask and sqlite3.
:copyright: (c) 2015 by Armin Ronacher.
:copyright: © 2010 by the Pallets team.
:license: BSD, see LICENSE for more details.
"""

View file

@ -6,7 +6,7 @@
A microblog example application written as Flask tutorial with
Flask and sqlite3.
:copyright: (c) 2015 by Armin Ronacher.
:copyright: © 2010 by the Pallets team.
:license: BSD, see LICENSE for more details.
"""

View file

@ -5,7 +5,7 @@
Tests the Flaskr application.
:copyright: (c) 2015 by Armin Ronacher.
:copyright: © 2010 by the Pallets team.
:license: BSD, see LICENSE for more details.
"""

View file

@ -5,7 +5,7 @@
Tests the Flaskr application.
:copyright: (c) 2015 by Armin Ronacher.
:copyright: © 2010 by the Pallets team.
:license: BSD, see LICENSE for more details.
"""

View file

@ -5,9 +5,10 @@
A simple application that shows how Flask and jQuery get along.
:copyright: (c) 2015 by Armin Ronacher.
:copyright: © 2010 by the Pallets team.
:license: BSD, see LICENSE for more details.
"""
from flask import Flask, jsonify, render_template, request
app = Flask(__name__)

View file

@ -5,7 +5,7 @@
A microblogging application written with Flask and sqlite3.
:copyright: (c) 2015 by Armin Ronacher.
:copyright: © 2010 by the Pallets team.
:license: BSD, see LICENSE for more details.
"""

View file

@ -5,9 +5,10 @@
Tests the MiniTwit application.
:copyright: (c) 2015 by Armin Ronacher.
:copyright: © 2010 by the Pallets team.
:license: BSD, see LICENSE for more details.
"""
import os
import tempfile
import pytest

View file

@ -1,3 +1,12 @@
# -*- coding: utf-8 -*-
"""
Larger App Tests
~~~~~~~~~~~~~~~~
:copyright: © 2010 by the Pallets team.
:license: BSD, see LICENSE for more details.
"""
from yourapplication import app
import pytest
@ -9,4 +18,4 @@ def client():
def test_index(client):
rv = client.get('/')
assert b"Hello World!" in rv.data
assert b"Hello World!" in rv.data

View file

@ -1,3 +1,12 @@
# -*- coding: utf-8 -*-
"""
yourapplication
~~~~~~~~~~~~~~~
:copyright: © 2010 by the Pallets team.
:license: BSD, see LICENSE for more details.
"""
from flask import Flask
app = Flask('yourapplication')

View file

@ -1,5 +1,14 @@
# -*- coding: utf-8 -*-
"""
yourapplication.views
~~~~~~~~~~~~~~~~~~~~~
:copyright: © 2010 by the Pallets team.
:license: BSD, see LICENSE for more details.
"""
from yourapplication import app
@app.route('/')
def index():
return 'Hello World!'
return 'Hello World!'