commit:     858765e9dbadad582dcf187c0553a6e7a3f61155
Author:     Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Wed Jan 21 18:17:35 2026 +0000
Commit:     Brian Harring <ferringb <AT> gmail <DOT> com>
CommitDate: Wed Jan 21 18:17:35 2026 +0000
URL:        
https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=858765e9

add missing ruff configuration

This is the defaults used elsewhere in pkgcore, thus now the default
used in snakeoil.

Signed-off-by: Brian Harring <ferringb <AT> gmail.com>

 pyproject.toml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/pyproject.toml b/pyproject.toml
index c3faf1c..4da24d0 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -52,5 +52,14 @@ minversion = "6.0"
 addopts = "-vv -ra -l"
 testpaths = ["tests"]
 
+[tool.ruff]
+target-version = "py311"
+
+[tool.ruff.lint]
+extend-select = ["I"]
+ignore = [
+       "E741",  # ambiguous variable name
+]
+
 [tool.vulture]
 paths = ["src/snakeoil/"]

Reply via email to