You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by gc...@apache.org on 2023/03/07 14:48:38 UTC
[allura] branch gc/8502 updated: fixup! [#8502] added ruff.toml
This is an automated email from the ASF dual-hosted git repository.
gcruz pushed a commit to branch gc/8502
in repository https://gitbox.apache.org/repos/asf/allura.git
The following commit(s) were added to refs/heads/gc/8502 by this push:
new e2b9ccc70 fixup! [#8502] added ruff.toml
e2b9ccc70 is described below
commit e2b9ccc703af30b02289773c22c1ffc7255aa602
Author: Guillermo Cruz <gu...@slashdotmedia.com>
AuthorDate: Tue Mar 7 08:48:22 2023 -0600
fixup! [#8502] added ruff.toml
---
ruff.toml | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/ruff.toml b/ruff.toml
index dc1878dc5..452bc05b8 100644
--- a/ruff.toml
+++ b/ruff.toml
@@ -1,9 +1,9 @@
exclude = [
- ".git",
+ '.git',
'node_modules',
]
-per-file-ignores = {"__init__.py" = ["F403"]}
-select = ["E", "F"]
+per-file-ignores = {'__init__.py' = ['F403']}
+select = ['E', 'F', 'RUF100']
ignore = [
'F401', # Imported but unused,
'F811', # Redefinition of unused
@@ -12,6 +12,5 @@ ignore = [
'E731', # Do not assign a lambda expression, use a def
'E741', # Ambiguous variable name: I,
]
-extend-select = ["RUF100"]
line-length = 119