Skip to content

Commit a253877

Browse files
committed
satisfy flake8
1 parent b981c2a commit a253877

1 file changed

Lines changed: 1 addition & 17 deletions

File tree

pants-plugins/uses_services/mongo_rules_test.py

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,15 @@
1313
# limitations under the License.
1414
from __future__ import annotations
1515

16-
import os
17-
1816
import pytest
1917

20-
from pants.backend.python import target_types_rules
21-
from pants.backend.python.target_types import PythonSourcesGeneratorTarget
22-
23-
from pants.core.util_rules.source_files import SourceFiles, SourceFilesRequest
24-
from pants.engine.addresses import Address
2518
from pants.engine.internals.scheduler import ExecutionError
26-
from pants.engine.fs import CreateDigest, Digest, FileContent, Snapshot
2719
from pants.engine.target import Target
28-
from pants.core.goals.fmt import FmtResult
2920
from pants.testutil.rule_runner import QueryRule, RuleRunner
3021

3122
from .exceptions import ServiceMissingError
3223
from .mongo_rules import (
3324
MongoIsRunning,
34-
PytestUsesMongoRequest,
3525
UsesMongoRequest,
3626
rules as mongo_rules,
3727
)
@@ -49,15 +39,9 @@ def rule_runner() -> RuleRunner:
4939
return RuleRunner(
5040
rules=[
5141
*mongo_rules(),
52-
# *target_types_rules.rules(),
5342
QueryRule(MongoIsRunning, (UsesMongoRequest, Platform)),
54-
# QueryRule(PytestPluginSetup, (PytestUsesMongoRequest)),
55-
],
56-
target_types=[
57-
# MockTarget,
58-
# PythonTestsGeneratorTarget,
59-
# PythonTestTarget,
6043
],
44+
target_types=[],
6145
)
6246

6347

0 commit comments

Comments
 (0)