From 9efae51d3789b7f13f5165fb75fc2001370fcf41 Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Sat, 29 Jul 2017 13:55:26 +0100 Subject: [PATCH] initial --- .gitignore | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++ .projectile | 1 + ci.sh | 3 ++ 3 files changed, 108 insertions(+) create mode 100644 .gitignore create mode 100644 .projectile create mode 100755 ci.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7ecbf91 --- /dev/null +++ b/.gitignore @@ -0,0 +1,104 @@ + +# Created by https://www.gitignore.io/api/python + +### Python ### +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg + +# 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/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*,cover +.hypothesis/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule + +# SageMath parsed files +*.sage.py + +# dotenv +.env + +# virtualenv +.venv +venv/ +ENV/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# End of https://www.gitignore.io/api/python diff --git a/.projectile b/.projectile new file mode 100644 index 0000000..89335b7 --- /dev/null +++ b/.projectile @@ -0,0 +1 @@ +- /.mypy_cache/ diff --git a/ci.sh b/ci.sh new file mode 100755 index 0000000..f584ed9 --- /dev/null +++ b/ci.sh @@ -0,0 +1,3 @@ +#!/bin/bash +python3.6 -mpylint -E main.py common.py products.py +python3.6 -mmypy main.py common.py products.py