Skip to content

Commit ad13050

Browse files
committed
Exclude test targets
1 parent 758a187 commit ad13050

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.periphery.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ retain_swift_ui_previews: true
1414
# Normally, Periphery would suggest changing public to internal or private in these cases to reduce the public API surface of a module.
1515
disable_redundant_public_analysis: false
1616

17+
# By default, Periphery will scan all targets in your project, including test targets.
18+
# This can lead to false positives, as test code is not part of the main application.
19+
# This option tells Periphery to exclude all test targets from the scan, ensuring that only the application code is analyzed.
20+
exclude_tests: true
21+
1722
schemes:
1823
- WooCommerce
1924

0 commit comments

Comments
 (0)