From 6323d77c4766c13ea8df56198b521b3b3104edf3 Mon Sep 17 00:00:00 2001 From: Eshant Gupta Date: Thu, 22 Oct 2020 20:52:52 +0530 Subject: [PATCH] Fixing flake8 error F525 '...'.format(...) mixes automatic and manual numbering --- grip/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grip/exceptions.py b/grip/exceptions.py index d923b2c..9911a9d 100644 --- a/grip/exceptions.py +++ b/grip/exceptions.py @@ -20,7 +20,7 @@ def __init__(self, path=None, message=None): errno.ENOENT, 'README not found', path) def __repr__(self): - return '{0}({!r}, {!r})'.format( + return '{}({!r}, {!r})'.format( type(self).__name__, self.path, self.message) def __str__(self):