diff --git a/.gitignore b/.gitignore index 89e6538abc4ecc13cd139f1d025f991ebe18a894..b97dd1fdb537049c4b1e0193b33719e6af1eeb59 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,40 @@ __pycache__/ *.py[cod] *$py.class +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +pip-wheel-metadata/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + # Unit test / coverage reports htmlcov/ .tox/ @@ -16,3 +50,99 @@ coverage.xml *.py,cover .hypothesis/ .pytest_cache/ + +# Translations +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +.python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# Swap +[._]*.s[a-v][a-z] +!*.svg # comment out if you don't need vector files +[._]*.sw[a-p] +[._]s[a-rt-v][a-z] +[._]ss[a-gi-z] +[._]sw[a-p] + +# Session +Session.vim +Sessionx.vim + +# Temporary +.netrwhist +*~ +# Auto-generated tag files +tags +# Persistent undo +[._]*.un~ diff --git a/.pylintrc b/.pylintrc index 15f00d04eee663eef83ad36a0ca442db52530196..6b7a2fbe10ce553c0f013a3fb52298760a8be7be 100644 --- a/.pylintrc +++ b/.pylintrc @@ -63,6 +63,7 @@ confidence= disable=missing-module-docstring, missing-class-docstring, missing-function-docstring, + too-many-statements, # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option diff --git a/app.py b/app.py index e74f17a14cc40eaed4b0eeb2a0b4c5d94a0529fb..7ac83958dd18dbebfc8ada35e029f38bb73d1be7 100644 --- a/app.py +++ b/app.py @@ -121,7 +121,3 @@ a valid redirect_uri for the client_id. return resp return app - -if __name__ == '__main__': - testapp = create_app() - testapp.run(debug=True, host='localhost', port=5002)