From 14dc37543a2f5fcfa20ed5a85dc687f9b4fd002d Mon Sep 17 00:00:00 2001 From: Jason Williams Date: Thu, 3 Dec 2020 21:47:50 -0700 Subject: [PATCH 1/2] black@20.8b1 --- .pre-commit-config.yaml | 5 +---- setup.py | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4761dd05..07b3b316 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,10 +5,7 @@ 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" diff --git a/setup.py b/setup.py index c36c54b7..8f18c4d8 100644 --- a/setup.py +++ b/setup.py @@ -50,11 +50,7 @@ # 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"', + 'black==20.8b1;python_version>="3.6"', # flake-bugbear requires py3.6+ 'flake8-bugbear==20.1.4;python_version>="3.6"', # testing From b47806f454fd9e14b29be834632951806e777104 Mon Sep 17 00:00:00 2001 From: Jason Williams Date: Thu, 3 Dec 2020 21:57:22 -0700 Subject: [PATCH 2/2] Update dev dependencies - isort@5.6.4 - flake8@3.8.4 - flake8-bugbear@20.11.1 --- .pre-commit-config.yaml | 6 +++--- setup.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 07b3b316..75e0c127 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,15 +12,15 @@ repos: 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" diff --git a/setup.py b/setup.py index 8f18c4d8..693d8de5 100644 --- a/setup.py +++ b/setup.py @@ -49,10 +49,10 @@ "tox>=3.5.3,<4.0", # linting "flake8>=3.0,<4.0", - 'isort>=5.1.4,<6.0;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",