Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from hugovk/rm-old-python
Update Python support
- Loading branch information
Showing
9 changed files
with
81 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[flake8] | ||
max-line-length = 88 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,22 @@ | ||
language: python | ||
cache: pip | ||
|
||
python: | ||
- 2.7 | ||
- 3.6 | ||
- 3.5 | ||
- 3.4 | ||
- "pypy" | ||
- "pypy3" | ||
matrix: | ||
include: | ||
- python: 3.7 | ||
dist: xenial | ||
- python: 3.6 | ||
fast_finish: true | ||
|
||
sudo: false | ||
install: | ||
- pip install --upgrade pip | ||
- pip install --upgrade black flake8 pytest | ||
- pip install --upgrade -r requirements.txt | ||
|
||
script: | ||
- python test_fng.py | ||
- python test_artists.py | ||
|
||
after_success: | ||
- pip install pep8 pyflakes | ||
- pep8 *.py | ||
- pyflakes *.py | ||
# Unit tests | ||
- pytest | ||
|
||
matrix: | ||
allow_failures: | ||
- python: 3.6 | ||
- python: 3.5 | ||
- python: 3.4 | ||
- python: "pypy" | ||
- python: "pypy3" | ||
# Static analysis | ||
- flake8 | ||
- black . --check --diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[tool.black] | ||
py36 = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters