Skip to content

Commit

Permalink
Versão 1.0.0 (#2)
Browse files Browse the repository at this point in the history
* Versão 1.0.0

* Adicionando o flake8
  • Loading branch information
allisson committed Oct 2, 2019
1 parent 28096f2 commit dc37a49
Show file tree
Hide file tree
Showing 38 changed files with 186 additions and 1,603 deletions.
21 changes: 21 additions & 0 deletions .pre-commit-config.yaml
@@ -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
@@ -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
@@ -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
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
@@ -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.

0 comments on commit dc37a49

Please sign in to comment.