File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 22minimum_pre_commit_version : 2.4.0
33repos :
44 - repo : https://github.com/pre-commit/pre-commit-hooks
5- rev : v4.3 .0
5+ rev : v4.4 .0
66 hooks :
77 - id : check-merge-conflict # Check for files that contain merge conflict strings.
88 - id : trailing-whitespace # Trims trailing whitespace.
1818
1919 # ----- Formatting ---------------------------------------------------------------------------->
2020 - repo : https://github.com/asottile/reorder_python_imports
21- rev : v3.8.2
21+ rev : v3.9.0
2222 hooks :
2323 - id : reorder-python-imports
2424 args : [
3939 )\.py$
4040
4141 - repo : https://github.com/asottile/pyupgrade
42- rev : v2.38.0
42+ rev : v3.3.1
4343 hooks :
4444 - id : pyupgrade
4545 name : Rewrite Code to be Py3.9+
@@ -56,20 +56,20 @@ repos:
5656 )\.py
5757
5858 - repo : https://github.com/psf/black
59- rev : 22.8 .0
59+ rev : 23.1 .0
6060 hooks :
6161 - id : black
6262 args : [-l 100]
6363 exclude : src/ptscripts/version.py
6464
6565 - repo : https://github.com/asottile/blacken-docs
66- rev : v1.12.1
66+ rev : 1.13.0
6767 hooks :
6868 - id : blacken-docs
6969 args : [--skip-errors]
7070 files : ^(docs/.*\.rst|src/ptscripts/.*\.py)$
7171 additional_dependencies :
72- - black==22.8 .0.
72+ - black==23.1 .0.
7373 # <---- Formatting -----------------------------------------------------------------------------
7474
7575 # ----- Security ------------------------------------------------------------------------------>
9494
9595 # ----- Code Analysis ------------------------------------------------------------------------->
9696 - repo : https://github.com/pycqa/flake8
97- rev : ' 5 .0.4 '
97+ rev : ' 6 .0.0 '
9898 hooks :
9999 - id : flake8
100100 exclude : ^(demo/.*|src/ptscripts/version\.py|\.pre-commit-hooks/.*\.py)$
@@ -104,7 +104,7 @@ repos:
104104 - flake8-typing-imports
105105
106106 - repo : https://github.com/pre-commit/mirrors-mypy
107- rev : v0.971
107+ rev : v1.0.0
108108 hooks :
109109 - id : mypy
110110 name : Run mypy against the code base
Original file line number Diff line number Diff line change 1+ Update pre-commit hooks versions
You can’t perform that action at this time.
0 commit comments