Skip to content

Commit

Permalink
Initial public commit
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbrunet committed Jan 9, 2019
0 parents commit ec07c8e
Show file tree
Hide file tree
Showing 43 changed files with 4,998 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

[*.{sh,yaml,yml}]
indent_size = 2
125 changes: 125 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@

# Created by https://www.gitignore.io/api/python
# Edit at https://www.gitignore.io/?templates=python

### Python ###
# 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/
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/
.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

# Pyre type checker
.pyre/

### Python Patch ###
.venv/

# End of https://www.gitignore.io/api/python
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
repos:
- repo: https://github.com/asottile/seed-isort-config
rev: v1.5.0
hooks:
- id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.4
hooks:
- id: isort
- repo: https://github.com/ambv/black
rev: 18.9b0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
- id: flake8
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
dist: xenial

language: python
matrix:
include:
- python: 3.4
- python: 3.5
- python: 3.6
env: PYTEST_ADDOPTS='--black'
- python: 3.7
env: PYTEST_ADDOPTS='--black'

install:
- pip install . 'black ; python_version>="3.6"'

script:
- python setup.py test --addopts '--cov=src --cov-report=xml --flake8 --isort'
- bash <(curl -s https://codecov.io/bash) || echo 'Codecov failed to upload'

deploy:
provider: pypi
user: maxbrunet
password:
secure: h25Z73aqS3t5qTGHU7psnXmG8g2p/BBjjttRycM116/I7KWEame/TwO2scPExzkjNLZiFaWGf2hnc/jJsYI+LmxHlLR9lLK2lQbEehVHeIXuC+5E8vo46aJMTFZHpI9RMAtecGUN1B84IhaXDhDNYLl/jL62HB0HxTwjta6QHeVsJpUPP9IrE3WQq4xgDWzTxWOIK5XTItkFPaTNhuASGQSr3dL+O+Vz84tu7gqRMpIpCw5FWVU4/thm2fq4p5QkL7xHk0FC1Y4wrfZaqhg2Xno8dMtWItUwu69fpJvt+7kd/dqPQnNsjjE7BSLkPKN/i46tJ/jcNMWZ3dgiXqx/d20PmL0xghRaCIfuQ2PXaW9jB0U+TO0VLDntqiqdCx0ZQ8JA99tvUwdbt+PgVV68NMIwTaKh3jpeG72T87l+chpOAQ8v1SNNG1me8PKk1tg4kfJMn7Qy5ckFx2sKyae+zQ4lqRfZZ0One399Dos2/b2Z2QZ9UMRSmkQwpn/hGxZHHqlB76QGUu4AEn8yyDUbDw9bbiEDIlGzUPGi4ytSko9ol+WONZRMKBBxTXUo2KxOikqQrv/AqcFV2bHqzyUHXmK/hWKiVbAANajg2195dHPSxclAnpVorJRR3farInJmIB/ZdYY0PgECL1T6jEpY4c3wTQwKkxAb/GdkYFpqLyg=
distributions: sdist bdist_wheel
on:
tags: true
python: 3.6
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 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]

## 0.1.0 - 2019-01-08
### Added

- Initial release

[Unreleased]: https://github.com/maxbrunet/mmemoji/compare/v0.1.0...HEAD
Loading

0 comments on commit ec07c8e

Please sign in to comment.