From c5b4054f9c4e5ce1a70e4a86ead6a878477061ba Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 20 Nov 2025 23:10:18 +0000 Subject: [PATCH] Apply ruff fixes and formatting --- theHarvester/__main__.py | 1 - theHarvester/discovery/bitbucket.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/theHarvester/__main__.py b/theHarvester/__main__.py index 3abd36b0..496ec0fe 100644 --- a/theHarvester/__main__.py +++ b/theHarvester/__main__.py @@ -432,7 +432,6 @@ async def start(rest_args: argparse.Namespace | None = None): if not args.quiet: print(f'A Missing Key error occurred in bitbucket: {ex}') - elif engineitem == 'brave': try: brave_search = bravesearch.SearchBrave(word, limit) diff --git a/theHarvester/discovery/bitbucket.py b/theHarvester/discovery/bitbucket.py index 5ebe2275..0e2c32f2 100644 --- a/theHarvester/discovery/bitbucket.py +++ b/theHarvester/discovery/bitbucket.py @@ -38,7 +38,7 @@ class SearchBitBucketCode: if self.key is None: raise MissingKey('BitBucket') self.proxy = False - self.base_url = f'https://{self.server}/2.0/repositories/"{self.word}"/src' #Word must contain username and repo + self.base_url = f'https://{self.server}/2.0/repositories/"{self.word}"/src' # Word must contain username and repo self.headers = { 'Host': self.server, 'User-agent': Core.get_user_agent(),