Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanpm committed Jun 10, 2019
0 parents commit aa708a9
Show file tree
Hide file tree
Showing 35 changed files with 2,039 additions and 0 deletions.
104 changes: 104 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
# 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/
.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

# 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/
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
repos:
- repo: https://github.com/ambv/black
rev: 026c81b83454f176a9f9253cbfb70be2c159d822
hooks:
- id: black
language_version: python3.6

31 changes: 31 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
sudo: false
language: python
install: pip install tox
matrix:
include:
- python: "2.7"
env: TOX_ENV=py27
- python: "3.6"
env: TOX_ENV=static
- python: "3.6"
env: TOX_ENV=cov-travis DEPLOY=1
- python: "3.6"
env: TOX_ENV=docs
script: tox -e $TOX_ENV
after_success:
- test $TOX_ENV = docs && scripts/push-docs

deploy:
# Adding a new tag automatically releases to PyPI.
provider: pypi
user: content-delivery-release-bot
password:
secure: mbwepZxFTZb5OxgIr9XcYJzHYHj2xeSSfciGW8ZIycqLcV7j+j1amoc/81Smj1CBmcyLrA9VHuOPt60GhQbn7NYxaJY3bz8aAMx9FwUZwjwbvjhcWuruQ64g195AToC9NTqJ/44emioJHcXZuwaO79rjWOhBcdnAKnypfebmxDSp73WHcpHduZUJc8V32AM8lJJFi7G+K2ExENxyRt9Jp8j16re5UJ9L6LHiPRD11/sOZ3dyzIfKz+HJ4nYsEi9Z+h4+VLh8kBqDVlCFCVgEWhQfrP+hUe0QapJtiBEDwB9Uv7b+r7JmbStPmIJCp0QHOkTB//cqs9XSN37xiKZ+0LhwQze1VJwWR/sRCnZQCX96y6StBgjNnTB3dSD2oimQdL6NDXvkpVOFmN24O810SeSy4RxRiM3X1aDCtRLIa5jp8SaKvLJWuxOMOXtr3nhR9BBeqjNZCFKEXwWWCo2IyLRYIwDj3kFPOTRfn6SQhA96CZspE4vgNcdXDwt6MLNZYtlNxnlj2x9adHed20dAYt/18Xj3kV2pJiI3wwF6Deo0AAAy0h0eJT5g7BOikl4UaeRWtsb1YJCW3QcInnTbvlBLB9Wsxbsh1Vq015E/EEjC63ztXCLj9vtafpjTMN0c3XHakWwKRdbh8Rdjp8G8PxLRF3MRfbCPNrYWmuynIUY=
on:
tags: true
# Only one of the environments in the matrix should have
# deployments enabled. It's mostly arbitrary which one,
# but best to select some Python 3.x so up-to-date tools
# are used during release.
condition: $DEPLOY = 1
skip_existing: true
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

- n/a
Loading

0 comments on commit aa708a9

Please sign in to comment.