Skip to content

Commit 132b23f

Browse files
committed
docs(README.md): add Codecov badge to README for better visibility of test coverage
docs(README.md): add newlines for better readability in code examples and sections
1 parent 947561b commit 132b23f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# MCP Text Editor Server
22

3+
[![codecov](https://codecov.io/gh/tumf/mcp-text-editor/graph/badge.svg?token=52D51U0ZUR)](https://codecov.io/gh/tumf/mcp-text-editor)
4+
35
A Model Context Protocol (MCP) server that provides text file editing capabilities through a standardized API.
46

57
## Features
@@ -232,6 +234,7 @@ Important Notes:
232234
### Common Usage Pattern
233235

234236
1. Get current content and hash:
237+
235238
```python
236239
contents = await get_text_file_contents({
237240
"files": [
@@ -244,6 +247,7 @@ contents = await get_text_file_contents({
244247
```
245248

246249
2. Edit file content:
250+
247251
```python
248252
result = await edit_text_file_contents({
249253
"files": [
@@ -263,6 +267,7 @@ result = await edit_text_file_contents({
263267
```
264268

265269
3. Handle conflicts:
270+
266271
```python
267272
if result["file.txt"]["result"] == "error":
268273
if "hash mismatch" in result["file.txt"]["reason"]:
@@ -356,4 +361,4 @@ New features should include appropriate tests. Try to maintain or improve the cu
356361

357362
### Code Style
358363

359-
All code should be formatted with Black and pass Ruff linting. Import sorting should be handled by isort.
364+
All code should be formatted with Black and pass Ruff linting. Import sorting should be handled by isort.

0 commit comments

Comments
 (0)