This repository has been archived by the owner on Jul 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
67 changed files
with
1,193 additions
and
1,111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.git | ||
*.pyc | ||
__pycache__/ | ||
.tox | ||
.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
charset = utf-8 | ||
|
||
# Python files | ||
[*.py] | ||
indent_size = 4 | ||
# isort plugin configuration | ||
multi_line_output = 2 | ||
default_section = THIRDPARTY | ||
|
||
# RST files (used by sphinx) | ||
[*.rst] | ||
indent_size = 4 | ||
|
||
# CSS, HTML, JS, JSON, YML | ||
[*.{css,html,js,json,yml}] | ||
indent_size = 2 | ||
|
||
# Matches the exact files either package.json or .travis.yml | ||
[{package.json,.travis.yml}] | ||
indent_size = 2 | ||
|
||
# Dockerfile | ||
[Dockerfile] | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,53 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This file is part of Flask-AppFactory | ||
# Copyright (C) 2015 CERN. | ||
# | ||
# Flask-AppFactory is free software; you can redistribute it and/or | ||
# modify it under the terms of the Revised BSD License; see LICENSE | ||
# file for more details. | ||
|
||
|
||
# Travis CI file, that integrates with coveralls for reporting test coverage. | ||
sudo: false | ||
|
||
language: python | ||
|
||
python: | ||
- "2.6" | ||
- "2.7" | ||
- "3.3" | ||
- "3.4" | ||
|
||
env: | ||
- REQUIREMENTS=devel | ||
- REQUIREMENTS=latest | ||
- REQUIREMENTS=lowest | ||
|
||
cache: | ||
- pip | ||
|
||
install: | ||
- pip install --upgrade pip --use-mirrors | ||
- pip install pep257 coveralls --use-mirrors | ||
- pip install .[docs] | ||
# Install test dependencies | ||
- "travis_retry pip install coveralls pep257 Sphinx" | ||
- "travis_retry pip install pytest pytest-pep8 pytest-cov pytest-cache" | ||
- "travis_retry pip install -r requirements.${REQUIREMENTS}.txt" | ||
- "travis_retry pip install -e ." | ||
|
||
script: | ||
- pep257 flask_appfactory | ||
- "sphinx-build -qnNW docs docs/_build/html" | ||
- coverage run --source=flask_appfactory setup.py test | ||
- python setup.py test | ||
- "sphinx-build -qnNW -b doctest docs docs/_build/doctest" | ||
|
||
after_success: | ||
- coveralls | ||
|
||
notifications: | ||
email: false | ||
|
||
deploy: | ||
provider: pypi | ||
user: lnielsen | ||
password: | ||
secure: cKcrzBcAPn5pQqhJAX+ct5L7dNDL3Y4NKt+KksWfag5YN2SCTkAEcm0JvKxP4pURG0AOXqqWjY1ydvj7XkafEOWq4lKjtJy/Eb1ZY8dO5RJOQ1fjICvtVxcW/6qQKz5TESd6CafXis0E3kmqrRAHWnFZATEhA0KnnvoCoGByZUOn9gg527dA8tv4MatY9xYQGOuryKWq/KKgD92Z9EhwwzB+26naXlpI6GQiMoxJA5br4Idc9Y5uHbJVGSxTWkQYbXo8GmYatwGmswPfJXZqJt37K8yLdYTCZku7FQ/mBNrj1OQutQh40MX72Zd3o5GEHswFLKvRcPjX4jA6kjBcGKC/Lxn2oDCKA8HhLpCUwQlhuZpXvp2Ghq8df7ZIZvsuO/KOVAske7e0L0uGcs244jY00uTFtK9X/Xtj72tBD4On/GeWXOgRW6tlwo6NsJOdR1HjiR6F3xX62IUJBXGE5obmbNTF+XciWTiY1aTKlSSRbu+M0q6jD+1DFl0ttuvdh9zMctdDkCJMqncEU5z9sDX6U08iahdHF70eCL6dRvl5aD6flbVMVOXt7z3WZPqWzLDIOCuy1JjgMyO2l++AB4lhSCdxEaOjGlLIyIBLfLnsDMtqrKavNszq4h01qlh3tiQNW9KXxXuxCTx4lr5YdQ/y6P5mhSoQBNfpZpVuRr4= | ||
distributions: "sdist bdist_wheel" | ||
on: | ||
tags: true | ||
python: "2.7" | ||
condition: $REQUIREMENTS = latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
Authors | ||
------- | ||
|
||
Flask-AppFactory is developed for use in `Invenio <http://invenio-software.org>`_ digital library software. | ||
======= | ||
|
||
Contact us at `info@invenio-software.org <mailto:info@invenio-software.org>`_ | ||
|
||
Contributors | ||
^^^^^^^^^^^^ | ||
* YourName <your.name@cern.ch> - CHANGEME | ||
* Lars Holm Nielsen <lars.holm.nielsen@cern.ch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
Changelog | ||
========= | ||
Changes | ||
======= | ||
|
||
Here you can see the full list of changes between each Flask-AppFactory | ||
release. | ||
Version 0.1.0 (released 2015-07-31) | ||
|
||
Version 0.1 | ||
----------- | ||
- Initial public release | ||
- Initial public release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Contributing | ||
============ | ||
|
||
Bug reports, feature requests, and other contributions are welcome. | ||
If you find a demonstrable problem that is caused by the code of this | ||
library, please: | ||
|
||
1. Search for `already reported problems | ||
<https://github.com/inveniosoftware/flask-appfactory/issues>`_. | ||
2. Check if the issue has been fixed or is still reproducible on the | ||
latest `master` branch. | ||
3. Create an issue with **a test case**. | ||
|
||
If you create a feature branch, you can run the tests to ensure everything is | ||
operating correctly: | ||
|
||
.. code-block:: console | ||
$ ./run-tests.sh | ||
You can also test your feature branch using Docker: | ||
|
||
.. code-block:: console | ||
$ docker-compose build | ||
$ docker-compose run --rm web /code/run-tests.sh |
Oops, something went wrong.