mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-02 14:51:20 -05:00
Merge pull request #10155 from dotCooCoo/chore/sonar-exclusions
Sonar: exclude lcov.info, tests and the catalog tables, and set the Python version
This commit is contained in:
@@ -10,6 +10,17 @@ sonar.sources=.
|
||||
sonar.tests=.
|
||||
sonar.test.inclusions=**/tests/**,**/tests.rs,**/*_tests.rs,**/tests_*.rs
|
||||
|
||||
# The coverage job writes lcov.info at the root, where sonar.sources=. would index it.
|
||||
sonar.exclusions=lcov.info
|
||||
|
||||
# Duplication skips test files, the UI command table and the MCP catalog generated from it.
|
||||
# The shared Sonar workflow reads this property from a single line and adds **/i18n/** to it.
|
||||
sonar.cpd.exclusions=**/tests/**,**/tests.rs,**/*_tests.rs,**/tests_*.rs,crates/ui-egui/src/menus/ui_commands.rs,crates/mcp/src/ui_catalog.rs
|
||||
|
||||
# CI runs the scripts in packaging/ and scripts/ with Python 3.12 (Ubuntu 24.04), 3.13
|
||||
# (setup-python in the nightly jobs) and 3.15 (macOS 15).
|
||||
sonar.python.version=3.12, 3.13, 3.14, 3.15
|
||||
|
||||
# S4790 (weak hash): MD5 is the key derivation of the PDF standard security handler revisions 2-4
|
||||
# (ISO 32000-1 §7.6.3.3), which PDF 1.3-1.6 files use. It is needed to read those files and to write
|
||||
# the compatibility the user picks, not chosen for new security: the default is 256-bit AES
|
||||
|
||||
Reference in New Issue
Block a user