Skip to content

Video editing with Python

update pre-commit, block and flake8

osaajani2f6ad0deea7b
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index a34ef1a9..696655f9 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,25 +1,25 @@
repos:
- repo: https://github.com/psf/black
- rev: 22.3.0
+ rev: 23.7.0
hooks:
- id: black
- language_version: python3.6
+ language_version: python3
files: \.py$
- repo: https://github.com/PyCQA/isort
- rev: 5.10.1
+ rev: 5.12.0
hooks:
- id: isort
args:
- '--filter-files'
files: \.py$
- repo: https://github.com/PyCQA/flake8
- rev: 4.0.1
+ rev: 6.0.0
hooks:
- id: flake8
additional_dependencies:
- flake8-absolute-import>=1.0
- - flake8-docstrings>=1.6.0
- - flake8-rst-docstrings>=0.2.5
- - flake8-implicit-str-concat==0.3.0
+ - flake8-docstrings>=1.7.0
+ - flake8-rst-docstrings>=0.3
+ - flake8-implicit-str-concat==0.4.0
name: flake8-test
files: \.py$
diff --git a/setup.py b/setup.py
index b0fbf2e5..a908b254 100644
--- a/setup.py
+++ b/setup.py
@@ -91,14 +91,14 @@ test_reqs = [
]
lint_reqs = [
- "black>=22.3.0",
- "flake8>=4.0.1",
+ "black>=23.7.0",
+ "flake8>=6.0.0",
"flake8-absolute-import>=1.0",
- "flake8-docstrings>=1.6.0",
- "flake8-rst-docstrings>=0.2.5",
- "flake8-implicit-str-concat==0.3.0",
- "isort>=5.10.1",
- "pre-commit>=2.19.0",
+ "flake8-docstrings>=1.7.0",
+ "flake8-rst-docstrings>=0.3",
+ "flake8-implicit-str-concat==0.4.0",
+ "isort>=5.12",
+ "pre-commit>=3.3",
]
extra_reqs = {