Skip to content

Commit

Permalink
Merge pull request #386 from jaswilli/update-deps
Browse files Browse the repository at this point in the history
Update dev dependencies
  • Loading branch information
sirosen committed Dec 4, 2020
2 parents 343390f + b47806f commit 90a3d68
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
11 changes: 4 additions & 7 deletions .pre-commit-config.yaml
Expand Up @@ -5,25 +5,22 @@ repos:
- id: check-merge-conflict
- id: trailing-whitespace
- repo: https://github.com/python/black
# refrain from using 19.10b0 or later until
# https://github.com/psf/black/issues/1288
# is fixed
rev: 19.3b0
rev: 20.8b1
hooks:
- id: black
name: "Autoformat python files"
types: [python]
language_version: python3
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
rev: 3.8.4
hooks:
- id: flake8
name: "Lint python files"
types: [python]
language_version: python3
additional_dependencies: ['flake8-bugbear==20.1.4']
additional_dependencies: ['flake8-bugbear==20.11.1']
- repo: https://github.com/timothycrosley/isort
rev: 5.1.4
rev: 5.6.4
hooks:
- id: isort
name: "Sort python imports"
Expand Down
10 changes: 3 additions & 7 deletions setup.py
Expand Up @@ -49,14 +49,10 @@
"tox>=3.5.3,<4.0",
# linting
"flake8>=3.0,<4.0",
'isort>=5.1.4,<6.0;python_version>="3.6"',
# black requires py3.6+
# refrain from using 19.10b0 or later until
# https://github.com/psf/black/issues/1288
# is fixed
'black==19.3b0;python_version>="3.6"',
'isort>=5.6.4,<6.0;python_version>="3.6"',
'black==20.8b1;python_version>="3.6"',
# flake-bugbear requires py3.6+
'flake8-bugbear==20.1.4;python_version>="3.6"',
'flake8-bugbear==20.11.1;python_version>="3.6"',
# testing
"pytest<5.0",
"pytest-cov<3.0",
Expand Down

0 comments on commit 90a3d68

Please sign in to comment.