Skip to content

Commit

Permalink
Merge pull request #118 from jacebrowning/python-3.8-dev
Browse files Browse the repository at this point in the history
Test against the development release of Python 3.8
  • Loading branch information
jacebrowning committed Jul 4, 2019
2 parents be45308 + 6c5225c commit 771aa29
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 17 deletions.
16 changes: 9 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
dist: xenial

language: python
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
python:
- "3.7"
- "3.8-dev"

cache:
pip: true
directories:
- ${VIRTUAL_ENV}

before_install:
- curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
- source $HOME/.poetry/env
# https://github.com/sdispater/poetry/issues/613
# - curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
# - source $HOME/.poetry/env
- pip install poetry
- make doctor

install:
Expand Down
2 changes: 1 addition & 1 deletion .verchew.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version = GNU Make
[Python]

cli = python
version = Python 3.7
version = Python 3.7 || Python 3.8

[Poetry]

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ ifdef CI
git diff --exit-code
endif
poetry run mypy $(PACKAGES) --config-file=.mypy.ini
poetry run pylint $(PACKAGES) --rcfile=.pylint.ini
- poetry run pylint $(PACKAGES) --rcfile=.pylint.ini
poetry run pydocstyle $(PACKAGES)

# TESTS #######################################################################
Expand Down
14 changes: 7 additions & 7 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python",
"Topic :: Software Development",
"Topic :: Utilities",
Expand Down Expand Up @@ -62,7 +63,7 @@ black = "=19.3b0"
isort = "=4.3.4"

# Linters
mypy = "^0.701"
mypy = "*"
pylint = "^2.1"
pydocstyle = "*"

Expand Down

0 comments on commit 771aa29

Please sign in to comment.