chore: normalize all tracked files to LF line endings
Mechanical application of the `.gitattributes` rules from the prior commit. All 50 files differ only in line endings — verified by `git diff --cached --ignore-all-space` being empty. Before: main had 42 CRLF + 27 LF Python files plus mixed-ending in YAML, templates, and shell scripts. After: every text file is LF (except the Windows-native *.ps1, *.bat scripts which remain CRLF per gitattributes). This eliminates the noisy-diff failure mode seen in PR #102, where a small logic change produced a 918-line diff due to whole-file CRLF→LF conversion.
This commit is contained in:
104
pytest.ini
104
pytest.ini
@@ -1,52 +1,52 @@
|
||||
[pytest]
|
||||
# Pytest configuration for KiCAD MCP Server
|
||||
|
||||
# Test discovery patterns
|
||||
python_files = test_*.py *_test.py
|
||||
python_classes = Test*
|
||||
python_functions = test_*
|
||||
|
||||
# Test paths
|
||||
testpaths = tests
|
||||
|
||||
# Minimum Python version
|
||||
minversion = 6.0
|
||||
|
||||
# Additional options
|
||||
addopts =
|
||||
-ra
|
||||
--strict-markers
|
||||
--strict-config
|
||||
--showlocals
|
||||
--tb=short
|
||||
--cov=python
|
||||
--cov-report=term-missing
|
||||
--cov-report=html
|
||||
--cov-report=xml
|
||||
--cov-branch
|
||||
|
||||
# Markers for organizing tests
|
||||
markers =
|
||||
unit: Unit tests (fast, no external dependencies)
|
||||
integration: Integration tests (requires KiCAD)
|
||||
slow: Slow-running tests
|
||||
linux: Linux-specific tests
|
||||
windows: Windows-specific tests
|
||||
macos: macOS-specific tests
|
||||
|
||||
# Ignore patterns
|
||||
norecursedirs = .git .tox dist build *.egg node_modules
|
||||
|
||||
# Coverage settings
|
||||
[coverage:run]
|
||||
source = python
|
||||
omit =
|
||||
*/tests/*
|
||||
*/test_*.py
|
||||
*/__pycache__/*
|
||||
*/site-packages/*
|
||||
|
||||
[coverage:report]
|
||||
precision = 2
|
||||
show_missing = True
|
||||
skip_covered = False
|
||||
[pytest]
|
||||
# Pytest configuration for KiCAD MCP Server
|
||||
|
||||
# Test discovery patterns
|
||||
python_files = test_*.py *_test.py
|
||||
python_classes = Test*
|
||||
python_functions = test_*
|
||||
|
||||
# Test paths
|
||||
testpaths = tests
|
||||
|
||||
# Minimum Python version
|
||||
minversion = 6.0
|
||||
|
||||
# Additional options
|
||||
addopts =
|
||||
-ra
|
||||
--strict-markers
|
||||
--strict-config
|
||||
--showlocals
|
||||
--tb=short
|
||||
--cov=python
|
||||
--cov-report=term-missing
|
||||
--cov-report=html
|
||||
--cov-report=xml
|
||||
--cov-branch
|
||||
|
||||
# Markers for organizing tests
|
||||
markers =
|
||||
unit: Unit tests (fast, no external dependencies)
|
||||
integration: Integration tests (requires KiCAD)
|
||||
slow: Slow-running tests
|
||||
linux: Linux-specific tests
|
||||
windows: Windows-specific tests
|
||||
macos: macOS-specific tests
|
||||
|
||||
# Ignore patterns
|
||||
norecursedirs = .git .tox dist build *.egg node_modules
|
||||
|
||||
# Coverage settings
|
||||
[coverage:run]
|
||||
source = python
|
||||
omit =
|
||||
*/tests/*
|
||||
*/test_*.py
|
||||
*/__pycache__/*
|
||||
*/site-packages/*
|
||||
|
||||
[coverage:report]
|
||||
precision = 2
|
||||
show_missing = True
|
||||
skip_covered = False
|
||||
|
||||
Reference in New Issue
Block a user