mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-28 22:59:03 -06:00
Configures ruff as the one stop linter and resolves warnings it raised
This commit is contained in:
@@ -47,7 +47,7 @@ class TestMailLiveServer(TestCase):
|
||||
|
||||
except MailError as e:
|
||||
self.fail(f"Failure: {e}")
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
def test_process_non_gmail_server_tag(self):
|
||||
@@ -66,5 +66,5 @@ class TestMailLiveServer(TestCase):
|
||||
|
||||
except MailError as e:
|
||||
self.fail(f"Failure: {e}")
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user