Skip to content
Merged
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
21 changes: 21 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
repos:
- repo: local
hooks:
- id: black
name: black
entry: black
language: system
types: [python]
args: ['--diff']
- id: isort
name: isort
entry: isort
language: system
types: [python]
args: ['--check-only']
- id: flake8
name: flake8
entry: flake8
language: system
types: [python]
args: ['--ignore=E501,W503']
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
language: python
python:
- "3.5"
- "3.6"
- "3.7"
# command to install dependencies
install:
- pip install -r requirements-dev.txt
before_script:
- make lint
# command to run tests
script:
pytest
after_success:
coveralls
coveralls
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
---------

1.0.0
~~~~~

* Suporte a python 3.5 removido.
* Versão do simple-rest-client atualizada para >= 1.0.0

0.2.0
~~~~~

Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ release: dist
git tag `python setup.py -q version`
git push origin `python setup.py -q version`
twine upload dist/*

lint:
SKIP=no-commit-to-branch pre-commit run -a -v
12 changes: 8 additions & 4 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
-r requirements.txt
Sphinx
black
coveralls
flake8
isort
pre-commit
pytest
pytest-cov
vcrpy
coveralls
Sphinx
twine
wheel
vcrpy
wheel
36 changes: 0 additions & 36 deletions resources/cassettes/test_bill_create.yaml

This file was deleted.

34 changes: 0 additions & 34 deletions resources/cassettes/test_bill_destroy.yaml

This file was deleted.

35 changes: 0 additions & 35 deletions resources/cassettes/test_bill_list.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions resources/cassettes/test_bill_retrieve.yaml

This file was deleted.

36 changes: 0 additions & 36 deletions resources/cassettes/test_bill_update.yaml

This file was deleted.

34 changes: 0 additions & 34 deletions resources/cassettes/test_charge_charge.yaml

This file was deleted.

Loading