|
@@ -34,9 +34,17 @@ sigterm = true
|
|
|
|
|
|
|
|
[tool.coverage.report]
|
|
[tool.coverage.report]
|
|
|
skip_covered = true
|
|
skip_covered = true
|
|
|
|
|
+fail_under = 91
|
|
|
omit = [
|
|
omit = [
|
|
|
"*/migrations/*",
|
|
"*/migrations/*",
|
|
|
"*/tests/*",
|
|
"*/tests/*",
|
|
|
|
|
+ # Non-application code (no testable logic / not part of the app)
|
|
|
|
|
+ "netbox/scripts/*", # SCRIPTS_ROOT: user/generated scripts
|
|
|
|
|
+ "*/netbox/configuration*.py", # settings/config files (template, testing, local)
|
|
|
|
|
+ "*/netbox/wsgi.py", # WSGI entrypoint
|
|
|
|
|
+ "*/generate_secret_key.py", # standalone CLI helper
|
|
|
|
|
+ "*/utilities/debug.py", # debug-toolbar hook, active only when DEBUG=True
|
|
|
|
|
+ "*/extras/management/commands/housekeeping.py", # deprecated; will not be tested
|
|
|
]
|
|
]
|
|
|
|
|
|
|
|
[tool.pyright]
|
|
[tool.pyright]
|