summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2019-02-23 14:22:55 -0800
committerDavid Lord <davidism@gmail.com>2019-02-23 14:22:55 -0800
commitaaf63b4f2f5fa5e51fa87412909073fe42844c1d (patch)
treef2c1fa6af48e81aa6069c1c05f29a084b153d468
parent79ee6ce0ed93c6da73512f069d7db866d955df04 (diff)
downloadmarkupsafe-aaf63b4f2f5fa5e51fa87412909073fe42844c1d.tar.gz
update pre-commit
-rw-r--r--.pre-commit-config.yaml11
-rw-r--r--tox.ini2
2 files changed, 8 insertions, 5 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 7be015d..6a86504 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/asottile/reorder_python_imports
- rev: v1.3.1
+ rev: v1.3.5
hooks:
- id: reorder-python-imports
args: ["--application-directories", "src"]
@@ -8,11 +8,14 @@ repos:
rev: 18.9b0
hooks:
- id: black
+ - repo: https://gitlab.com/pycqa/flake8
+ rev: 3.7.6
+ hooks:
+ - id: flake8
+ additional_dependencies: [flake8-bugbear]
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v2.0.0
+ rev: v2.1.0
hooks:
- id: check-byte-order-marker
- id: trailing-whitespace
- id: end-of-file-fixer
- - id: flake8
- additional_dependencies: [flake8-bugbear]
diff --git a/tox.ini b/tox.ini
index aaa666e..8e07c65 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[tox]
envlist =
- py{37,36,35,34,27,py3,py}
+ py{37,36,35,34,27,py3,py3,py}
stylecheck
docs-html
coverage-report