Skip to content

Commit 7f62936

Browse files
Yoshihiro TakaharaYoshihiro Takahara
authored andcommitted
chore: exclude coverage temp files and add no cover annotation
- Add *.cover to .gitignore to exclude coverage temp files - Add 'pragma: no cover' to _validate_environment placeholder method
1 parent 395c4d5 commit 7f62936

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ ENV/
3535
*.swo
3636

3737
# Testing
38+
*.cover
39+
*,cover
3840
.coverage
3941
.coverage.*
4042
.pytest_cache/

src/mcp_text_editor/text_editor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def _validate_environment(self) -> None:
4949
Can be extended to check for specific permissions or configurations.
5050
"""
5151
# Future: Add environment validation if needed
52-
pass
52+
pass # pragma: no cover
5353

5454
def _validate_file_path(self, file_path: str | os.PathLike) -> None:
5555
"""

0 commit comments

Comments
 (0)