Skip to content

Commit

Permalink
Merge branch 'main' into add-resolver-api-endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
neubig authored Nov 16, 2024
2 parents 27592c5 + 97f3249 commit f037482
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 1,252 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

Expand Down
1 change: 1 addition & 0 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export default defineConfig(({ mode }) => {
test: {
environment: "jsdom",
setupFiles: ["vitest.setup.ts"],
reporters: "basic",
exclude: [...configDefaults.exclude, "tests"],
coverage: {
reporter: ["text", "json", "html", "lcov", "text-summary"],
Expand Down
2 changes: 1 addition & 1 deletion frontend/vitest.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ vi.mock("react-i18next", async (importOriginal) => ({
}));

// Mock requests during tests
beforeAll(() => server.listen());
beforeAll(() => server.listen({ onUnhandledRequest: "bypass" }));
afterEach(() => {
server.resetHandlers();
// Cleanup the document body after each test
Expand Down
8 changes: 5 additions & 3 deletions openhands/linter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
"""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.
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.
- The detailed implementation of the linter can be found at: https://github.com/All-Hands-AI/openhands-aci.
"""

from openhands.linter.base import LintResult
from openhands.linter.linter import DefaultLinter
from openhands_aci.linter import DefaultLinter, LintResult

__all__ = ['DefaultLinter', 'LintResult']
79 changes: 0 additions & 79 deletions openhands/linter/base.py

This file was deleted.

98 changes: 0 additions & 98 deletions openhands/linter/languages/python.py

This file was deleted.

74 changes: 0 additions & 74 deletions openhands/linter/languages/treesitter.py

This file was deleted.

Loading

0 comments on commit f037482

Please sign in to comment.