You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2024/01/10 16:42:06 UTC

(allura) 01/02: set ruff target version

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 45edd0de5436b10afeccf36a7930852662fd4752
Author: Dave Brondsema <db...@slashdotmedia.com>
AuthorDate: Wed Jan 10 11:39:21 2024 -0500

    set ruff target version
---
 ruff.toml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ruff.toml b/ruff.toml
index 2b8e99ba6..e1cf41377 100644
--- a/ruff.toml
+++ b/ruff.toml
@@ -17,6 +17,7 @@
 
 line-length = 119
 show-source = true
+target-version = "py38"
 
 select = [
     # all flake8 & pep8 (except 'ignore' below)
@@ -42,6 +43,7 @@ ignore = [
     'B006', # Do not use mutable data structures for argument defaults
     'B007', # Loop control variable not used within the loop body
     'B904', # use raise from
+    'B905', # zip(strict=True) would be good, but need to closely evaluate all existing cases first
 ]
 
 [per-file-ignores]