Skip to content

Commit

Permalink
Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
lbedner committed Oct 5, 2021
1 parent 0879312 commit 9cd5340
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@ language: python

matrix:
include:
- python: 3.8
env: TOX_ENV=py38
- python: 3.9
dist: bionic
env: TOX_ENV=py39
- python: 3.10
dist: bionic
env: TOX_ENV=docs
- python: 3.9
- python: 3.10
dist: bionic
env: TOX_ENV=pep8
- python: 3.9
- python: 3.10
dist: bionic
env: TOX_ENV=py39
env: TOX_ENV=py310

install: pip install tox
script: tox -e $TOX_ENV
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def read(filename):

setup(
name='Henson',
version='2.2.0',
version='2.3.0',
author='Aditya Ghosh, Leonard Bedner, Zack Morris, and others',
author_email='[email protected]',
url='https://henson.readthedocs.io',
Expand Down Expand Up @@ -58,8 +58,8 @@ def read(filename):
'Natural Language :: English',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Software Development :: Libraries :: Application Frameworks',
]
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = docs,pep8,py38,py39
envlist = docs,pep8,py39,py310

[testenv]
deps =
Expand All @@ -13,16 +13,16 @@ commands =
python -m coverage report -m --include="henson/*"

[testenv:docs]
basepython = python3.9
basepython = python3.10
deps = -rdocs-requirements.txt
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
doc8 --allow-long-titles README.rst docs/ --ignore-path docs/_build/

[testenv:pep8]
basepython = python3.9
basepython = python3.10
deps =
flake8-docstrings
pep8-naming
commands =
flake8 --ignore F722 henson
flake8 --ignore F722,N818 henson

0 comments on commit 9cd5340

Please sign in to comment.