Restore support for Python 3.6

This commit is contained in:
Hugo van Kemenade 2022-01-24 18:02:15 +02:00
parent a204055798
commit c63e0a75ef
4 changed files with 7 additions and 6 deletions

View file

@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["pypy-3.8", "3.7", "3.8", "3.9", "3.10"]
python-version: ["pypy-3.8", "3.6", "3.7", "3.8", "3.9", "3.10"]
os: [ubuntu-20.04]
include:
# Include new variables for Codecov

View file

@ -3,19 +3,19 @@ repos:
rev: v2.31.0
hooks:
- id: pyupgrade
args: [--py37-plus]
args: [--py36-plus]
- repo: https://github.com/psf/black
rev: 21.12b0
hooks:
- id: black
args: [--target-version=py37]
args: [--target-version=py36]
- repo: https://github.com/asottile/blacken-docs
rev: v1.12.0
hooks:
- id: blacken-docs
args: [--target-version=py37]
args: [--target-version=py36]
additional_dependencies: [black==21.11b1]
- repo: https://github.com/PyCQA/isort

View file

@ -14,6 +14,7 @@ classifiers =
License :: OSI Approved :: Apache Software License
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
@ -33,7 +34,7 @@ keywords =
packages = find:
install_requires =
importlib-metadata;python_version < '3.8'
python_requires = >=3.7
python_requires = >=3.6
package_dir = =src
setup_requires =
setuptools-scm

View file

@ -1,7 +1,7 @@
[tox]
envlist =
lint
py{py3, 310, 39, 38, 37}
py{py3, 310, 39, 38, 37, 36}
[testenv]
passenv =