mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
8c14614bb5
Fix test patterns for deepsource Ref: https://github.com/inventree/InvenTree/pull/5778#issuecomment-1781903275
38 lines
662 B
TOML
38 lines
662 B
TOML
version = 1
|
|
exclude_patterns = [
|
|
"docs/docs/javascripts/**", # Docs: Helpers
|
|
"docs/ci/**", # Docs: CI
|
|
"InvenTree/InvenTree/static/**", # Backend: CUI static files
|
|
"ci/**", # Backend: CI
|
|
"InvenTree/**/migrations/*.py", # Backend: Migration files
|
|
"src/frontend/src/locales/**" # Frontend: Translations
|
|
]
|
|
test_patterns = [
|
|
"**/test_.*.py",
|
|
"**/test.py",
|
|
"**/tests.py"
|
|
]
|
|
|
|
|
|
[[analyzers]]
|
|
name = "shell"
|
|
|
|
[[analyzers]]
|
|
name = "javascript"
|
|
|
|
[analyzers.meta]
|
|
plugins = ["react"]
|
|
|
|
[[analyzers]]
|
|
name = "python"
|
|
|
|
[analyzers.meta]
|
|
runtime_version = "3.x.x"
|
|
|
|
[[analyzers]]
|
|
name = "docker"
|
|
|
|
[[analyzers]]
|
|
name = "test-coverage"
|
|
enabled = true
|