SF.net SVN: docutils:[10044 ] trunk/docutils/.ruff .toml

aa-turner--- via Docutils-checkins <[email protected]> Sun, 09 Mar 2025 00:56:34 +0000
Newsgroups gmane.text.docutils.cvs
Message-ID <[email protected]>
Revision: 10044
          http://sourceforge.net/p/docutils/code/10044
Author:   aa-turner
Date:     2025-03-09 00:56:34 +0000 (Sun, 09 Mar 2025)
Log Message:
-----------
Enable strict mode for flake8-type-checking in Ruff

Modified Paths:
--------------
    trunk/docutils/.ruff.toml

Modified: trunk/docutils/.ruff.toml
===================================================================
--- trunk/docutils/.ruff.toml	2025-03-09 00:42:54 UTC (rev 10043)
+++ trunk/docutils/.ruff.toml	2025-03-09 00:56:34 UTC (rev 10044)
@@ -28,7 +28,7 @@
     "RSE",  # flake8-raise
     "SLOT", # flake8-slots
     "T10",  # flake8-debugger
-    "TCH",  # flake8-type-checking
+    "TC",   # flake8-type-checking
     "TID",  # flake8-tidy-imports
     "UP",   # pyupgrade
     "W",    # pycodestyle
@@ -194,3 +194,7 @@
     "format",
     "id",
 ]
+
+[lint.flake8-type-checking]
+exempt-modules = []
+strict = true

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.