Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed Aug 19, 2019
2 parents 5078612 + 7c51301 commit 52277ab
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 10 deletions.
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
dist: trusty
language: python
sudo: false
python:
- 3.5
matrix:
include:
- env: TOXENV=py35
python: 3.5
- env: TOXENV=py36
python: 3.6
#- env: TOXENV=py37
# python: 3.7
install:
- pip install tox-travis codecov
script:
- tox
#- sed -i 's/filename="/filename=".\//g' coverage.xml
#- ( which sonar-scanner && sonar-scanner || true )
after_success:
- codecov
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Flask-Beet Extension

[![build status](https://secure.travis-ci.org/blockchainprojects/flask_beet.png?branch=master)](https://travis-ci.org/#!/blockchainprojects/flask_beet)
[![codecov](https://codecov.io/gh/blockchainprojects/flask_beet/branch/master/graph/badge.svg)](https://codecov.io/gh/blockchainprojects/flask_beet)

Flask-beet is a Flask extension for allow login (flask-security/flask-login)
via signed messages and the [Beet app](http://get-beet.io).
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ test=pytest

[coverage:run]
source=flask_beet
branch=True
branch = 1
omit=
tests/*
.tox/*
.eggs/*

[coverage:report]
include=bitshares*
include=flask_beet*
ignore_errors=True
show_missing=True
exclude_lines =
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from setuptools import setup

setup(
Expand All @@ -23,4 +24,6 @@
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
],
setup_requires=["pytest-runner"],
tests_require=["pytest"],
)
17 changes: 9 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist = py35,py36,py37,lint,docs
#envlist = py36,lint,docs
#envlist = py35,py36,py37,lint,docs
envlist = py36,lint,docs
skip_missing_interpreters = true

[testenv]
Expand All @@ -12,15 +12,16 @@ commands=
coverage xml -i

[testenv:lint]
deps =
flake8
black
isort
deps = flake8

# black
# isort

commands =
flake8 flask_beet
black --check --verbose flask_beet
isort --check-only --recursive flask_beet

#black --check --verbose flask_beet
#isort --check-only --recursive flask_beet

[testenv:docs]
basepython=
Expand Down

0 comments on commit 52277ab

Please sign in to comment.