Skip to content

Commit 5552b02

Browse files
committed
fix(tests): suppress PyLance private usage warnings
- Add pyright: reportPrivateUsage=false to test files - Tests intentionally access private methods for comprehensive testing - Resolves PyLance warnings in VS Code while maintaining type safety
1 parent f4b4f0b commit 5552b02

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- **Type safety**: Fixed all pyright typing errors for better code quality and maintainability
77
- **Code cleanup**: Removed unused functions and improved type annotations throughout codebase
88
- **Dependencies**: Removed unused mypy configuration and django-stubs dependency
9+
- **VS Code integration**: Added PyLance ignore comments for test files accessing private methods
910

1011
## 4.3.0 (2025-07-12)
1112

tests/test_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# pyright: reportPrivateUsage=false
12
from pathlib import Path
23

34
import pytest

tests/test_error_scenarios.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
all components of the system including configuration, network operations,
55
file operations, and subprocess execution.
66
"""
7+
# pyright: reportPrivateUsage=false
78

89
import os
910
import signal

tests/test_integration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
These tests verify end-to-end functionality including CLI download,
44
file operations, and cross-platform compatibility.
55
"""
6+
# pyright: reportPrivateUsage=false
67

78
import os
89
import platform

0 commit comments

Comments
 (0)