Skip to content

Commit eac181e

Browse files
committed
Ruff config: ANN201 no need for return value type hints in tests and scripts
1 parent fb0cc1c commit eac181e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,13 +363,13 @@ strict = true
363363
# No need for package, module, class, function, init etc docstrings in tests
364364
'D100', 'D101', 'D102', 'D103', 'D104', 'D105', 'D107',
365365
# No need for type hinting in tests
366-
'ANN001'
366+
'ANN001', 'ANN201'
367367
]
368368
"scripts/**.py" = [
369369
# No need for package, module, class, function, init etc docstrings in scripts
370370
'D100', 'D101', 'D102', 'D103', 'D104', 'D105', 'D107', 'D205',
371371
# No need for type hinting in scripts
372-
'ANN001'
372+
'ANN001', 'ANN201'
373373
]
374374
"tests/spark_namespace/**.py" = [
375375
# we need * imports for Spark

0 commit comments

Comments
 (0)