File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
sphinxcontrib/confluencebuilder Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,11 @@ lint.ignore = [
83
83
' SLF001' ,
84
84
]
85
85
86
+ 'sphinxcontrib/confluencebuilder/manifest.py' = [
87
+ # ignore the version import used to prevent a cyclic import issue
88
+ ' PLC0415' ,
89
+ ]
90
+
86
91
'tests/sample-sets/config.py' = [
87
92
# ignore all in environment configuration file
88
93
' ALL' ,
@@ -101,6 +106,11 @@ lint.ignore = [
101
106
' SIM117' ,
102
107
]
103
108
109
+ 'tests/test_validation.py' = [
110
+ # ignore injected configuration imports
111
+ ' PLC0415' ,
112
+ ]
113
+
104
114
'tests*' = [
105
115
# ignore implicit-namespace-package warnings for the test structures used
106
116
' INP001' ,
Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ def getpass2(prompt='Password: '):
336
336
if (os .name == 'nt' and 'MSYSTEM' in os .environ and 'TERM' in os .environ and
337
337
'CONFLUENCEBUILDER_NO_GETPASS_HOOK' not in os .environ ):
338
338
try :
339
- check_call (['/usr/bin/stty' , '-echo' ]) # noqa: S603
339
+ check_call (['/usr/bin/stty' , '-echo' ])
340
340
except : # noqa: E722
341
341
print ()
342
342
print ()
@@ -348,7 +348,7 @@ def getpass2(prompt='Password: '):
348
348
value = input (prompt )
349
349
finally :
350
350
with suppress (Exception ):
351
- check_call (['/usr/bin/stty' , 'echo' ]) # noqa: S603
351
+ check_call (['/usr/bin/stty' , 'echo' ])
352
352
353
353
print ()
354
354
return value
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ commands =
68
68
[testenv:ruff]
69
69
deps =
70
70
{[testenv]deps}
71
- ruff: ruff ==0.11.13
71
+ ruff: ruff ==0.12.0
72
72
setenv =
73
73
{[testenv]setenv}
74
74
RUFF_CACHE_DIR ={toxworkdir}/.ruff_cache
You can’t perform that action at this time.
0 commit comments