@@ -5,11 +5,11 @@ exclude: '^tests/.*'
55
66# Force all unspecified python hooks to run python 3.8
77default_language_version :
8- python : python3.8
8+ python : python3
99
1010repos :
1111- repo : https://github.com/pre-commit/pre-commit-hooks
12- rev : v3.2 .0
12+ rev : v4.4 .0
1313 hooks :
1414 - id : check-yaml
1515 args : [--unsafe]
@@ -18,31 +18,31 @@ repos:
1818 - id : trailing-whitespace
1919 - id : check-case-conflict
2020- repo : https://github.com/psf/black
21- rev : 21.12b0
21+ rev : 23.1.0
2222 hooks :
2323 - id : black
24- additional_dependencies : ['click==8.0.4 ']
24+ additional_dependencies : ['click~=8.1 ']
2525 args :
2626 - " --line-length=99"
2727 - " --target-version=py38"
2828 - id : black
2929 alias : black-check
3030 stages : [manual]
31- additional_dependencies : ['click==8.0.4 ']
31+ additional_dependencies : ['click~=8.1 ']
3232 args :
3333 - " --line-length=99"
3434 - " --target-version=py38"
3535 - " --check"
3636 - " --diff"
3737- repo : https://github.com/pycqa/flake8
38- rev : 4 .0.1
38+ rev : 6 .0.0
3939 hooks :
4040 - id : flake8
4141 - id : flake8
4242 alias : flake8-check
4343 stages : [manual]
4444- repo : https://github.com/pre-commit/mirrors-mypy
45- rev : v0.942
45+ rev : v1.0.1
4646 hooks :
4747 - id : mypy
4848 # N.B.: Mypy is... a bit fragile.
@@ -55,12 +55,12 @@ repos:
5555 # of our control to the mix. Unfortunately, there's nothing we can
5656 # do about per pre-commit's author.
5757 # See https://github.com/pre-commit/pre-commit/issues/730 for details.
58- args : [--show-error-codes, --ignore-missing-imports]
58+ args : [--show-error-codes, --ignore-missing-imports, --explicit-package-bases ]
5959 files : ^dbt/adapters/.*
6060 language : system
6161 - id : mypy
6262 alias : mypy-check
6363 stages : [manual]
64- args : [--show-error-codes, --pretty, --ignore-missing-imports]
64+ args : [--show-error-codes, --pretty, --ignore-missing-imports, --explicit-package-bases ]
6565 files : ^dbt/adapters
6666 language : system
0 commit comments