File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 10
10
- pyright
11
11
- pyright-verifytypes
12
12
- pyroma
13
+ - poetry-lock
13
14
- poetry-audit
14
15
- check-tm-devices-schema-file
15
16
repos :
@@ -86,10 +87,6 @@ repos:
86
87
- mdformat-toc
87
88
- mdformat-web
88
89
- mdformat-wikilink
89
- - repo : https://gitlab.com/smop/pre-commit-hooks
90
- rev : df034f88cf92b394e6f00a78fa97a2aa4e270e60 # frozen: v1.0.0
91
- hooks :
92
- - id : check-poetry
93
90
- repo : https://github.com/pappasam/toml-sort
94
91
rev : 4ec24891e200ae663aa2a7cecd19516080777133 # frozen: v0.24.2
95
92
hooks :
@@ -125,6 +122,13 @@ repos:
125
122
pass_filenames : false
126
123
always_run : true
127
124
args : [., --min=10]
125
+ - id : poetry-lock
126
+ name : poetry-lock
127
+ entry : poetry lock
128
+ language : system
129
+ pass_filenames : false
130
+ always_run : true
131
+ files : ^(.*/)?(poetry\.lock|pyproject\.toml)$
128
132
- id : poetry-audit
129
133
name : poetry-audit
130
134
entry : poetry
@@ -140,6 +144,11 @@ repos:
140
144
types : [python]
141
145
pass_filenames : false
142
146
args : [scripts/generate_schema.py]
147
+ - repo : https://gitlab.com/smop/pre-commit-hooks
148
+ rev : df034f88cf92b394e6f00a78fa97a2aa4e270e60 # frozen: v1.0.0
149
+ hooks :
150
+ - id : check-poetry
151
+ # args: [--strict] # TODO: enable this when poetry can be updated to v2+
143
152
- repo : https://github.com/astral-sh/ruff-pre-commit
144
153
rev : 9aeda5d1f4bbd212c557da1ea78eca9e8c829e19 # frozen: v0.11.13
145
154
hooks :
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ py-lt-39 = "sys_version_info < (3, 9)"
10
10
11
11
[tool .coverage .paths ]
12
12
source = [
13
- " .tox/**/site-packages/tm_devices" ,
14
13
" src/tm_devices" ,
14
+ " .tox/**/site-packages/tm_devices" ,
15
15
]
16
16
17
17
[tool .coverage .report ]
@@ -414,6 +414,7 @@ all = true
414
414
in_place = true
415
415
spaces_before_inline_comment = 2
416
416
trailing_comma_inline_array = true
417
+ overrides."tool.coverage.paths.*".inline_arrays = false
417
418
overrides."tool.poetry.*".inline_arrays = false
418
419
overrides."tool.pylint.*".table_keys = false
419
420
You can’t perform that action at this time.
0 commit comments