Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
languages:
Python: true
28 changes: 28 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[run]

branch = True

[report]

exclude_lines =
pragma: no cover
def __repr__
if self.debug:
raise NotImplementedError
if __name__ == .__main__.:

ignore_errors = True

include =
*/odoo_sentinel/*

omit =
*/virtualenv/*
*/tests/*
setup.py
*/__init__.py
tests.py

[xml]

output = coverage.xml
92 changes: 92 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# 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/
*.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/

# IPython Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# dotenv
.env

# virtualenv
venv/
ENV/

# Spyder project settings
.spyderproject

# Rope project settings
.ropeproject

# PyCharm
.idea/
34 changes: 34 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
cache: pip
language: python
python:
- '2.7'
- '3.5'
- '3.6'
env:
global:
- PROJECT="Odoo Sentinel"
- GH_NAME="OCA Git Bot"
- GH_EMAIL="[email protected]"
matrix:
- TESTS="1"
- LINT="1"
- DOCS="1"
install:
- git clone --depth=1 https://github.com/LasLabs/python-quality-tools.git ${HOME}/python-quality-tools
- export PATH=${HOME}/python-quality-tools/travis:${PATH}
- travis_install
script:
- travis_run
after_success:
- travis_after_success
deploy:
provider: pypi
user: laslabs
password:
secure: gea/apUsUPXoSxC34fsrBkZPvA9eFAuMBJMpVHRwVpV/dnM09sVDocFT4FL1picbo3HEiwi7fPMjJ8kPDdYJKdAj5j1QGn6gqB/mYZIFiuLMb8u90qX8cihnvaH9jGbo16SCwUov3roNaf43e+T9e/AqaRqwW8NNqHW719KIs4R9pEulmrL6WMXcN4vYzXgnVSyU+j2tdeGWFdqKtGJjFfGRguQgp78EaMTY+4oo0fm+/3Gq8u/1TD9iBh/blY8hKBnnS+XGaEtJcYfYLYz0o7Zf9a+Mb52M6z4TRsav+dShgMoBQqOy0oWEJsGi38ZNGqk8qYup0KgLV+F9xuuaeAWWUMszoxxPluzYPE+nShInRHAMYkwieP/QuVgJFyse2VQJ9mmQyhPahUCSEfsXzpEkmsPeR2XbT+1z//c6PUt79Nscn9XpStc5SduSk0TgUu2GL/lmgak53DODgDxE10Fa12SQR0HAviZadWfzHhXaBxNVHHvsXkgjKscaG2fF9eXXpfCS7BwA4dGjOWsnBuVzEWv5LzELeaGrZtLZN20pf7/0S2hK60TSXNMJSr5hd1mbID90RD4ZHM29zZimVMEzCTI+EXMXu1ELmPjjvLdfDQ+xg3Nn7zDyTHty8fyXjtVklfToaiLI1AaT1CxeOlcZkSpSUiHkOYBLKB+RQco=
distributions: sdist bdist_wheel
skip_upload_docs: true
on:
repo: OCA/oca-decorators
branch: master
tags: true
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# OCA Guidelines

Please follow the official guide from the [OCA Guidelines page](https://github.com/OCA/maintainer-tools/blob/master/CONTRIBUTING.md).

## Project Specific Guidelines

This project does not have specific coding guidelines.
Loading