From 9aa127daf03056779c98083f0047979581774112 Mon Sep 17 00:00:00 2001 From: rabsondev Date: Mon, 18 Mar 2024 10:50:28 +0000 Subject: [PATCH 1/2] Update references to docs --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9f3753b..702b5e2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Ostorlab Template Agent +# OXO Template Agent This repo is a template for building an [Ostorlab](https://github.com/ostorlab/ostorlab) agent in Python. It ships with good best practices like: @@ -11,10 +11,10 @@ This repo is a template for building an [Ostorlab](https://github.com/ostorlab/o Here are links to good resources to get started: -* [Write your first Agent](https://docs.ostorlab.co/tutorials/write-an-ostorlab-agent.html) -* [Use Ostorlab to run scans](https://docs.ostorlab.co/tutorials/run-your-first-scan.html) -* [Debugging and Testing Agents](https://docs.ostorlab.co/tutorials/debugging-agents.html) -* [Understand Ostorlab Internals](https://docs.ostorlab.co/tutorials/life-of-a-scan.html) +* [Write your first Agent](https://oxo.ostorlab.co/tutorials/write_an_agent) +* [Use OXO to run scans](https://oxo.ostorlab.co/tutorials) +* [Debugging and Testing Agents](https://oxo.ostorlab.co/tutorials/debugging_agents) +* [Understand OXO Internals](https://oxo.ostorlab.co/tutorials/life_of_a_scan) ## Ideas for Agents to build From c9e36d6c84238ce9b7ac8bc3b1ad9f73817e5fa8 Mon Sep 17 00:00:00 2001 From: rabsondev Date: Mon, 18 Mar 2024 10:53:04 +0000 Subject: [PATCH 2/2] Run ruff --- agent/template_agent.py | 1 + tests/conftest.py | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/agent/template_agent.py b/agent/template_agent.py index df10494..64b15f1 100644 --- a/agent/template_agent.py +++ b/agent/template_agent.py @@ -1,4 +1,5 @@ """Sample agent implementation""" + import logging from rich import logging as rich_logging diff --git a/tests/conftest.py b/tests/conftest.py index d0a7eb1..6ae7feb 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,10 +1,10 @@ """ - Dummy conftest.py for template_agent. +Dummy conftest.py for template_agent. - If you don't know what this is for, just leave it empty. - Read more about conftest.py under: - - https://docs.pytest.org/en/stable/fixture.html - - https://docs.pytest.org/en/stable/writing_plugins.html +If you don't know what this is for, just leave it empty. +Read more about conftest.py under: +- https://docs.pytest.org/en/stable/fixture.html +- https://docs.pytest.org/en/stable/writing_plugins.html """ # import pytest