File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -42,16 +42,11 @@ repos:
42
42
- id : blacken-docs
43
43
additional_dependencies :
44
44
- black==23.1.0
45
- - repo : https://github.com/asottile/reorder-python-imports
46
- rev : v3.12.0
45
+ - repo : https://github.com/pycqa/isort
46
+ rev : 5.13.2
47
47
hooks :
48
- - id : reorder-python-imports
49
- args :
50
- - --py38-plus
51
- - --application-directories
52
- - .:example:src
53
- - --add-import
54
- - ' from __future__ import annotations'
48
+ - id : isort
49
+ name : isort (python)
55
50
- repo : https://github.com/PyCQA/flake8
56
51
rev : 7.0.0
57
52
hooks :
Original file line number Diff line number Diff line change @@ -47,6 +47,13 @@ randomly = "pytest_randomly"
47
47
[tool .black ]
48
48
target-version = [' py38' ]
49
49
50
+ [tool .isort ]
51
+ add_imports = [
52
+ " from __future__ import annotations"
53
+ ]
54
+ force_single_line = true
55
+ profile = " black"
56
+
50
57
[tool .pytest .ini_options ]
51
58
addopts = """ \
52
59
--strict-config
You can’t perform that action at this time.
0 commit comments