refactor: standardize linter output data structure and interface (#4077)

Co-authored-by: Graham Neubig <neubig@gmail.com>
This commit is contained in:
Xingyao Wang
2024-09-30 13:40:23 -05:00
committed by GitHub
parent 13901b4b5a
commit 54ac340e0b
18 changed files with 676 additions and 1191 deletions

View File

@@ -0,0 +1,9 @@
"""Linter module for OpenHands.
Part of this Linter module is adapted from Aider (Apache 2.0 License, [original code](https://github.com/paul-gauthier/aider/blob/main/aider/linter.py)). Please see the [original repository](https://github.com/paul-gauthier/aider) for more information.
"""
from openhands.linter.base import LintResult
from openhands.linter.linter import DefaultLinter
__all__ = ['DefaultLinter', 'LintResult']