Skip to content

Commit 8569dc6

Browse files
committed
Also document as a config setting
1 parent 2b65ab2 commit 8569dc6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/source/config_file.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,13 @@ section of the command line docs.
507507

508508
Warns about unneeded ``# type: ignore`` comments.
509509

510+
.. confval:: disallow_ignore_without_code
511+
512+
:type: boolean
513+
:default: False
514+
515+
Disallow ``# type: ignore`` comments which do not have error codes.
516+
510517
.. confval:: warn_no_return
511518

512519
:type: boolean

0 commit comments

Comments
 (0)