Skip to content

Commit 87afd46

Browse files
chinyeungliJonoYang
authored andcommitted
#594 - Format code with Ruff linter
Signed-off-by: Chin Yeung Li <[email protected]>
1 parent 595949c commit 87afd46

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

minecode/miners/cargo.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#
99

1010
import requests
11-
1211
from packagedcode import models as scan_models
1312

1413

@@ -90,4 +89,3 @@ def build_packages(metadata_dict, purl):
9089
package.datasource_id = "cargo_api_metadata"
9190
package.set_purl(purl)
9291
yield package
93-

minecode/tests/miners/test_cargo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313

1414
from django.test import TestCase as DjangoTestCase
1515

16+
from packageurl import PackageURL
17+
1618
from minecode import miners
1719
from minecode.tests import FIXTURES_REGEN
1820
from minecode.utils_test import JsonBasedTesting
19-
from packageurl import PackageURL
2021

2122

2223
class TestCargoMap(JsonBasedTesting, DjangoTestCase):

0 commit comments

Comments
 (0)