Skip to content

Commit

Permalink
Add explicit support for Python 3.9 (#177)
Browse files Browse the repository at this point in the history
* Add py39 to tox

* Add py39 to GHA

* Update README, setup.py and CHANGELOG
  • Loading branch information
jamescooke committed Apr 7, 2021
1 parent 7a07ac6 commit 5a0840a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: [3.6, 3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v1
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@ Unreleased_
See also `latest documentation
<https://flake8-aaa.readthedocs.io/en/latest/#__unreleased_marker__>`_.

Added
.....

* Support for Python 3.9 `#177
<https://github.com/jamescooke/flake8-aaa/pull/177>`_

Changed
.......

* CI system changed from Travis to GitHub actions. `173
* CI system changed from Travis to GitHub actions. `#173
<https://github.com/jamescooke/flake8-aaa/issues/173>`_.

* Adjusted "examples_aaa" tox environments to sort both outputs and expected
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ Flake8-AAA works with:

* Mypy and type-annotated code.

* Latest versions of Python 3 (3.6, 3.7 and 3.8).
* Latest versions of Python 3 (3.6, 3.7, 3.8 and 3.9).

Further reading:

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def readme():
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python',
],
zip_safe=False,
Expand Down
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@
# Run pytest on test suite.

[tox]
envlist = py3{6,7,8}-{install,lint,examples,examples_aaa,test,cmd,cmdbad},py36-doc
envlist = py3{6,7,8,9}-{install,lint,examples,examples_aaa,test,cmd,cmdbad},py36-doc

[testenv]
deps =
doc,lint,test: -rrequirements/base.txt
doc,lint,test: -rrequirements/test.txt
py36-examples: -rrequirements/examples-py36.txt
py3{7,8}-examples: -rrequirements/examples.txt
py3{7,8,9}-examples: -rrequirements/examples.txt
examples_aaa: flake8>=3
install: flake8>=3
commands =
Expand All @@ -46,6 +46,7 @@ commands =
doc: make doc
examples: {[examples]commands}
py38-examples: {[py38-examples]commands}
py39-examples: {[py38-examples]commands}
examples_aaa: {[examples_aaa]commands}
install: {[install]commands}
lint: make lint
Expand Down Expand Up @@ -101,3 +102,4 @@ python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39

0 comments on commit 5a0840a

Please sign in to comment.