Skip to content

Commit cb491c7

Browse files
committed
Excludes vendored code from analysis and coverage
1 parent 31786a5 commit cb491c7

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

.codefactor.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# CodeFactor configuration
2+
# https://support.codefactor.io/i14-ignore-files-or-folders
3+
4+
exclude_paths:
5+
# Vendored third-party code - keep as-is from upstream
6+
- 'src/easydiffraction/utils/_vendored/jupyter_dark_detect/**'

codecov.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Codecov configuration
2+
# https://docs.codecov.com/docs/codecovyml-reference
3+
4+
coverage:
5+
status:
6+
project:
7+
default:
8+
# Allow small coverage decrease (vendored code adds uncovered lines)
9+
threshold: 0.5%
10+
patch:
11+
default:
12+
# Lower threshold for patches containing vendored code
13+
threshold: 0.5%
14+
15+
ignore:
16+
# Vendored third-party code - not our code to test
17+
- 'src/easydiffraction/utils/_vendored/jupyter_dark_detect/**'

0 commit comments

Comments
 (0)