SF.net SVN: docutils:[9822 ] trunk/docutils/.ruff. toml
aa-turner--- via Docutils-checkins <[email protected]>
| Newsgroups | gmane.text.docutils.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 9822
http://sourceforge.net/p/docutils/code/9822
Author: aa-turner
Date: 2024-08-01 20:34:38 +0000 (Thu, 01 Aug 2024)
Log Message:
-----------
Enable the flake8-executable linter in Ruff
Modified Paths:
--------------
trunk/docutils/.ruff.toml
Modified: trunk/docutils/.ruff.toml
===================================================================
--- trunk/docutils/.ruff.toml 2024-08-01 19:30:49 UTC (rev 9821)
+++ trunk/docutils/.ruff.toml 2024-08-01 20:34:38 UTC (rev 9822)
@@ -5,9 +5,10 @@
[lint]
preview = true
select = [
- "E", # pycodestyle
- "F", # pyflakes
- "W", # pycodestyle
+ "E", # pycodestyle
+ "EXE", # flake8-executable
+ "F", # pyflakes
+ "W", # pycodestyle
]
ignore = [
"E226", # missing whitespace around arithmetic operator
@@ -102,6 +103,11 @@
"F841",
]
+# shebang to enable unbuffered mode
+"test/alltests.py" = [
+ "EXE003",
+]
+
# included configuration files referencing externally defined variables
"test/functional/tests/*" = [
"F821",
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.