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

aa-turner--- via Docutils-checkins <[email protected]> Sat, 08 Mar 2025 01:41:26 +0000
Newsgroups gmane.text.docutils.cvs
Message-ID <[email protected]>
Revision: 10028
          http://sourceforge.net/p/docutils/code/10028
Author:   aa-turner
Date:     2025-03-08 01:41:25 +0000 (Sat, 08 Mar 2025)
Log Message:
-----------
Ignore certain Ruff EXE lint codes (flake8-executable)

SVN-Git conversions can sometimes drop the executable bit.

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

Modified: trunk/docutils/.ruff.toml
===================================================================
--- trunk/docutils/.ruff.toml	2025-03-08 01:31:27 UTC (rev 10027)
+++ trunk/docutils/.ruff.toml	2025-03-08 01:41:25 UTC (rev 10028)
@@ -39,6 +39,10 @@
     # whitespace around the operators with the lowest priority(ies).
     # Use your own judgment; …"
 
+    "EXE001",  # shebang is present but file is not executable
+    "EXE002",  # the file is executable but no shebang is present
+    # SVN-Git conversions can drop the executable bit.
+
     "PERF203",  # ``try``-``except`` within a loop incurs performance overhead
     # Needs more thought.
 

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



_______________________________________________
Docutils-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-checkins