Skip to content

Commit

Permalink
feature: Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rai200890 committed Oct 29, 2018
0 parents commit 4c5e953
Show file tree
Hide file tree
Showing 14 changed files with 778 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: 2
jobs:
build:
docker:
- image: circleci/python:3.6.1
steps:
- checkout
- run:
command: |
sudo apt install python-pip
sudo pip install -U pip pipenv
- run:
command: |
pipenv --python python3.6
pipenv install --dev
- run:
command: |
pipenv run pytest
- run:
command: |
pipenv run flake8
- run:
command: |
pipenv run safety check
- store_artifacts:
path: htmlcov
destination: htmlcov

111 changes: 111 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
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/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# 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

# celery beat schedule file
celerybeat-schedule

# 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
18 changes: 18 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
flask_google_cloud_logger = {editable = true, path = "."}

[dev-packages]
pytest = "~=3.9.3"
pytest_mock = "~=1.10.0"
pytest-cov = "~=2.6.0"
flake8 = "~=3.6.0"
yapf = "~=0.24.0"
ipdb = "~=0.11"
safety = "~=1.8.4"
[requires]
python_version = "3.6"
Loading

0 comments on commit 4c5e953

Please sign in to comment.