File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,29 +12,16 @@ repos:
1212 - id : debug-statements
1313 - id : mixed-line-ending
1414
15- # Adds a standard feel to import segments, adds future annotations
16- - repo : https://github.com/asottile/reorder-python-imports
17- rev : v3.12.0
15+ # Adds a standard feel to import segments
16+ - repo : https://github.com/pycqa/isort
17+ rev : 5.13.2
1818 hooks :
19- - id : reorder-python-imports
20- args :
21- - " --py37-plus"
22- - " --add-import"
23- - " from __future__ import annotations"
24- - " --application-directories"
25- - " .:src"
26-
27- # Automatically upgrade syntax to newer versions
28- - repo : https://github.com/asottile/pyupgrade
29- rev : v3.15.0
30- hooks :
31- - id : pyupgrade
32- args :
33- - " --py38-plus"
19+ - id : isort
20+ args : ["--profile", "black"]
3421
3522 # Format code. No, I don't like everything black does either.
3623 - repo : https://github.com/psf/black-pre-commit-mirror
37- rev : 23.12 .1
24+ rev : 24.1 .1
3825 hooks :
3926 - id : black
4027
Original file line number Diff line number Diff line change 11"""This is just a sample file"""
2+
23from __future__ import annotations
34
45
Original file line number Diff line number Diff line change 11"""Tests for sample"""
2+
23from __future__ import annotations
34
45import pytest
You can’t perform that action at this time.
0 commit comments