testing: Switch to Python 3.9

Don't bother with older versions.
pull/645/head
Alex Thiessen 2 years ago
parent 06e082c918
commit c336622516
No known key found for this signature in database
GPG Key ID: 6C90AE2B18A1CF5B

@ -3,7 +3,7 @@ repos:
rev: v1.4.0 rev: v1.4.0
hooks: hooks:
- id: autopep8-wrapper - id: autopep8-wrapper
language_version: python2 language_version: python3
args: args:
- --in-place - --in-place
- --aggressive - --aggressive
@ -11,40 +11,40 @@ repos:
- --ignore=E731 - --ignore=E731
- --max-line-length=131 - --max-line-length=131
- id: check-added-large-files - id: check-added-large-files
language_version: python2 language_version: python3
- id: check-ast - id: check-ast
language_version: python2 language_version: python3
- id: check-case-conflict - id: check-case-conflict
language_version: python2 language_version: python3
- id: check-docstring-first - id: check-docstring-first
language_version: python2 language_version: python3
- id: debug-statements - id: debug-statements
language_version: python2 language_version: python3
- id: double-quote-string-fixer - id: double-quote-string-fixer
language_version: python2 language_version: python3
- id: end-of-file-fixer - id: end-of-file-fixer
language_version: python2 language_version: python3
exclude_types: [batch, lua] exclude_types: [batch, lua]
- id: fix-encoding-pragma - id: fix-encoding-pragma
language_version: python2 language_version: python3
- id: flake8 - id: flake8
language_version: python2 language_version: python3
args: args:
- --max-complexity=10 - --max-complexity=10
- --max-line-length=131 - --max-line-length=131
- --ignore=E402,E731 - --ignore=E402,E731
- --exclude=bin/autojump_argparse.py - --exclude=bin/autojump_argparse.py
- id: name-tests-test - id: name-tests-test
language_version: python2 language_version: python3
- id: requirements-txt-fixer - id: requirements-txt-fixer
language_version: python2 language_version: python3
- id: trailing-whitespace - id: trailing-whitespace
language_version: python2 language_version: python3
- repo: git@github.com:asottile/reorder_python_imports.git - repo: git@github.com:asottile/reorder_python_imports.git
rev: v1.1.1 rev: v1.1.1
hooks: hooks:
- id: reorder-python-imports - id: reorder-python-imports
language_version: python2 language_version: python3
- repo: git@github.com:asottile/add-trailing-comma - repo: git@github.com:asottile/add-trailing-comma
rev: v0.7.0 rev: v0.7.0
hooks: hooks:

@ -59,7 +59,7 @@ test-xfail: pre-commit
.PHONY: test-fast .PHONY: test-fast
test-fast: pre-commit test-fast: pre-commit
@tox -e py27 @tox -e py39
.PHONY: clean .PHONY: clean
clean: clean:

@ -1,10 +1,6 @@
[tox] [tox]
envlist = envlist =
py26, py39
py27,
py33,
py34,
py35
# ignore missing setup.py # ignore missing setup.py
skipsdist = True skipsdist = True

Loading…
Cancel
Save