diff options
Diffstat (limited to 'src/wikiget')
| -rw-r--r-- | src/wikiget/exceptions.py | 2 | ||||
| -rw-r--r-- | src/wikiget/file.py | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/wikiget/exceptions.py b/src/wikiget/exceptions.py index 02ffe50..4afc97f 100644 --- a/src/wikiget/exceptions.py +++ b/src/wikiget/exceptions.py @@ -21,5 +21,3 @@ class ParseError(Exception): This exception is raised when the program's input is unable to be parsed as a valid download target. """ - - pass diff --git a/src/wikiget/file.py b/src/wikiget/file.py index 8de62ae..e2599c5 100644 --- a/src/wikiget/file.py +++ b/src/wikiget/file.py @@ -15,8 +15,6 @@ # You should have received a copy of the GNU General Public License # along with Wikiget. If not, see <https://www.gnu.org/licenses/>. -from typing import Any - from mwclient.image import Image from wikiget import DEFAULT_SITE @@ -46,7 +44,7 @@ class File: self.dest = dest if dest else name self.site = site if site else DEFAULT_SITE - def __eq__(self, other: Any) -> bool: + def __eq__(self, other: object) -> bool: """ Compares this File object with another for equality. |
