fix: resolve CI linting failures in test files
Some checks failed
CI / test (push) Has been cancelled
Some checks failed
CI / test (push) Has been cancelled
This commit is contained in:
@@ -1,9 +1,7 @@
|
|||||||
"""Tests for endpoint detectors."""
|
|
||||||
|
|
||||||
import pytest
|
|
||||||
import tempfile
|
|
||||||
import os
|
import os
|
||||||
|
import tempfile
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from docgen.models import HTTPMethod
|
from docgen.models import HTTPMethod
|
||||||
|
|
||||||
|
|
||||||
@@ -255,7 +253,7 @@ class TestBaseDetector:
|
|||||||
|
|
||||||
def test_can_detect(self):
|
def test_can_detect(self):
|
||||||
"""Test file extension detection."""
|
"""Test file extension detection."""
|
||||||
from docgen.detectors import PythonDetector, JavaScriptDetector
|
from docgen.detectors import JavaScriptDetector, PythonDetector
|
||||||
|
|
||||||
py_detector = PythonDetector()
|
py_detector = PythonDetector()
|
||||||
js_detector = JavaScriptDetector()
|
js_detector = JavaScriptDetector()
|
||||||
|
|||||||
Reference in New Issue
Block a user