Skip to content

Commit 5aeb9d4

Browse files
committed
Use correct black formatting
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 32c4ca0 commit 5aeb9d4

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

vulnerabilities/importers/debian.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,10 @@ def response_is_new(self):
138138
head = requests.head(self.config.debian_tracker_url)
139139
date_str = head.headers.get("last-modified")
140140
last_modified_date = dateparser.parse(date_str)
141-
print('last_modified_date:', type(last_modified_date), last_modified_date)
142-
print('self.config.last_run_date:', type(self.config.last_run_date), self.config.last_run_date)
141+
print("last_modified_date:", type(last_modified_date), last_modified_date)
142+
print(
143+
"self.config.last_run_date:", type(self.config.last_run_date), self.config.last_run_date
144+
)
143145
if self.config.last_run_date:
144146
return self.config.last_run_date < last_modified_date
145147

vulnerabilities/tests/test_debian.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838

3939

4040
class DebianImportTest(TestCase):
41-
4241
@classmethod
4342
def setUpClass(cls) -> None:
4443
fixture_path = os.path.join(TEST_DATA, "debian.json")

0 commit comments

Comments
 (0)