Commit Graph
14 Commits
Author SHA1 Message Date
Hugo van Kemenade 1e2f10dcb2 Add support for Python 3.11, drop EOL 3.6 (#2332) 2022-10-25 10:51:28 +08:00
Steve Kowalik 0422110987 Move lint and docs to Python 3.8 (#2077)
With Python 3.6 rapidly approaching end of life, move the docs and lint
tox targets to Python 3.8, and also switch readthedocs to match.
2021-10-19 15:34:23 +11:00
Steve Kowalik aa694f8edc Add support for Python 3.10 (#2073)
Now that Python 3.10 has been released, we should test it in CI.
2021-10-13 15:34:01 +11:00
Steve Kowalik 7a5421837c Add types libraries to lint deps (#1975)
It appears recently that typing information for jwt and requests has
been split out into seperate projects on pypi, namely types-jwt and
types-requests. Since we utilise calling functions in their namespace,
we need to install them otherwise mypy will fail.
2021-06-19 10:22:29 +10:00
Steve Kowalik 63e4fae997 Drop support for Python 3.5 (#1770)
In preperation for starting to use 3.6+ only features, stop testing
Python 3.5 in our CI, and bump our minimum required version.
2020-12-02 14:47:45 +11:00
Steve Kowalik 09f49c7849 Add py39 env to tox (#1740)
An earlier commit added Python 3.9 support to CI, but neglected to
change tox.ini to support an environment, do so here.
2020-11-04 14:45:09 +11:00
Steve Kowalik e79b9013fe Turn on coverage reporting for codecov (#1522)
Since we migrated from Travis to GitHub Actions, our coverage on codecov
has been reporting as 0%, since uploading the .coverage file is a
terrible idea. Turn on XML-based reporting, ignore the file and use that
when we upload to codecov.
2020-05-19 12:28:33 +10:00
Liuyang Wan 235fdc966d Github workflow improvement (#1486) 2020-04-26 16:04:42 +08:00
Liuyang Wan 546d601b50 Fix all type issues flagged by mypy (#1484) 2020-04-26 12:40:05 +08:00
Steve Kowalik b4ca917726 Drop unneeded ignore rule for flake8 (#1454)
We no longer have code or comments that triggers E203 (no space before
:), so we can drop it.
2020-04-11 18:25:06 +10:00
Liuyang Wan af6cab5520 Reuse pre-commit checks in CI (#1442)
* Use pre-commit checks in CI

* Fix all issues flagged by mypy

* Update travis.yml to reflect testenv changes

* Update docs to use tox lint
2020-03-23 08:45:54 +08:00
Steve Kowalik b30c09aaa4 Create a tox docs environment (#1426)
To make it easier to build documentation locally, add a new tox
environment that installs our requirements and runs Sphinx.
2020-03-08 16:36:52 +11:00
Steve Kowalik c822dd1ce0 Switch to using pytest (#1423)
Due to the recent deprecation of setup.py test, we should move with the
times, and switch to a non-deprecated test runner.

Add configuration for pytest, and switch tox to using it. Remove
AllTests, since it is no longer required to locate test classes, and
rewrite tests/__main__.py as a pytest conftest plugin.

Also drop the test function from manage.sh, tox does a much better job.
2020-03-07 12:43:49 +11:00
Wan Liuyang 125536fe69 Add tox (#1388)
* Add tox.ini

* Fix typo

* Update .gitignore

* Move flake8 to tox

* Add py35

* Add Coverage

* Add Coverage

* Add Coverage

* Add Coverage

* Add black

* Add black

* Add black

* Skip black for py35

* Add isort

* Update contributing docs

* Remove empty line
2020-02-13 17:54:02 +08:00