Compare commits
2
Commits
0371e45af7
...
65ad31ea20
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
65ad31ea20 | ||
|
|
7b73b8a876 |
@@ -1,5 +1,7 @@
|
|||||||
# TicketLab_MCP
|
# TicketLab_MCP
|
||||||
|
|
||||||
|
[](https://sonarqube.app.andreferraro.com/dashboard?id=TicketLab_MCP)
|
||||||
|
|
||||||
Hello world — repositório de testes MCP do TicketLab.
|
Hello world — repositório de testes MCP do TicketLab.
|
||||||
|
|
||||||
## Quick start
|
## Quick start
|
||||||
@@ -7,3 +9,7 @@ Hello world — repositório de testes MCP do TicketLab.
|
|||||||
```bash
|
```bash
|
||||||
python hello.py
|
python hello.py
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## CI / quality gate
|
||||||
|
|
||||||
|
Pushes and PRs into `develop`, `release/**` and `main` run SonarQube via Gitea Actions. Merge is blocked until the Quality Gate passes.
|
||||||
|
|||||||
@@ -1,8 +1,13 @@
|
|||||||
"""Hello world for TicketLab_MCP."""
|
"""Hello world for TicketLab_MCP."""
|
||||||
|
|
||||||
|
|
||||||
|
def greet(name: str = "TicketLab MCP") -> str:
|
||||||
|
"""Return a greeting for the given name."""
|
||||||
|
return f"Hello, {name}!"
|
||||||
|
|
||||||
|
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
print("Hello, TicketLab MCP!")
|
print(greet())
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Reference in New Issue
Block a user