File tree Expand file tree Collapse file tree 1 file changed +21
-8
lines changed
Expand file tree Collapse file tree 1 file changed +21
-8
lines changed Original file line number Diff line number Diff line change 33exclude : |
44 (?x)(
55 # Python/system files
6- ^.*/__init__\.py$|
76 ^.*?/\.venv/.*$|
87 ^.*?/node_modules/.*$|
9-
8+
109 # Generated/test files
1110 ^.*?/\.pytest_cache/.*$|
1211 ^.*?/__pycache__/.*$|
1312 ^.*?/\.mypy_cache/.*$|
14- ^.*?/\.ruff_cache/.*$
13+ ^.*?/\.ruff_cache/.*$|
1514
1615 # Package management
1716 ^.*?/poetry\.lock$|
@@ -22,7 +21,7 @@ exclude: |
2221 ^.*?/build/.*$|
2322 ^.*?/dist/.*$|
2423 ^.*?/\.coverage$|
25- ^.*?/coverage\.xml$|
24+ ^.*?/coverage\.xml$
2625 )
2726
2827repos :
@@ -38,18 +37,15 @@ repos:
3837 - repo : https://github.com/astral-sh/ruff-pre-commit
3938 rev : v0.11.5
4039 hooks :
41- # Run the linter with repo-defined settings
4240 - id : ruff
4341 args : [--fix]
44-
45- # Run the formatter with repo-defined settings
4642 - id : ruff-format
4743
4844 - repo : https://github.com/pre-commit/mirrors-prettier
4945 rev : v3.0.3
5046 hooks :
5147 - id : prettier
52- types_or : [json, yaml ]
48+ args : [--write ]
5349 additional_dependencies :
54505551
@@ -61,3 +57,20 @@ repos:
6157 language : golang
6258 additional_dependencies :
[github.com/google/[email protected] ] 6359 files : \.py$
60+
61+ - id : poetry-check
62+ name : Check Poetry lockfile
63+ entry : poetry check
64+ language : system
65+ pass_filenames : false
66+ always_run : true
67+
68+ - repo : https://github.com/pre-commit/mirrors-mypy
69+ rev : v1.8.0
70+ hooks :
71+ - id : mypy
72+ name : mypy
73+ entry : mypy
74+ args : [--config-file=mypy.ini, --show-column-numbers]
75+ files : ^airbyte_cdk/
76+ pass_filenames : true
You can’t perform that action at this time.
0 commit comments