@mikey-pro/ruff-config 10.1.0 → 10.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/ruff.toml +5 -3
package/package.json
CHANGED
package/ruff.toml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Mikey Pro Ruff Configuration
|
|
2
2
|
# AI Agent Code Quality Guardrails for Python
|
|
3
3
|
|
|
4
|
-
target-version = "
|
|
4
|
+
target-version = "py312"
|
|
5
5
|
line-length = 88
|
|
6
6
|
|
|
7
7
|
[lint]
|
|
@@ -39,6 +39,8 @@ ignore = [
|
|
|
39
39
|
"E501", # line too long (handled by formatter)
|
|
40
40
|
"PLR0913", # too many arguments (we set our own limit)
|
|
41
41
|
"PLR2004", # magic value comparison (too noisy)
|
|
42
|
+
"T201", # print — allowed; agents use logging module but print is valid for scripts/CLIs
|
|
43
|
+
"S101", # assert — allowed in non-test code for invariant checks; pytest relies on it
|
|
42
44
|
]
|
|
43
45
|
|
|
44
46
|
[lint.mccabe]
|
|
@@ -51,10 +53,10 @@ combine-as-imports = true
|
|
|
51
53
|
force-sort-within-sections = true
|
|
52
54
|
|
|
53
55
|
[lint.pylint]
|
|
54
|
-
max-args =
|
|
56
|
+
max-args = 5
|
|
55
57
|
max-branches = 12
|
|
56
58
|
max-returns = 6
|
|
57
|
-
max-statements =
|
|
59
|
+
max-statements = 75
|
|
58
60
|
|
|
59
61
|
[lint.flake8-bandit]
|
|
60
62
|
check-typed-exception = true
|