From 43c00af7e542911cce638cfab49c6a6dc9349e55 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 18 May 2022 08:07:19 +0800 Subject: can flake be tamed? --- .flake8 | 2 +- git/objects/util.py | 2 ++ git/types.py | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.flake8 b/.flake8 index e3d7917a..08001ffa 100644 --- a/.flake8 +++ b/.flake8 @@ -35,4 +35,4 @@ min-python-version = 3.7.0 # for `black` compatibility max-line-length = 120 -extend-ignore = E203 +extend-ignore = E203,W503 diff --git a/git/objects/util.py b/git/objects/util.py index fad00001..636a5831 100644 --- a/git/objects/util.py +++ b/git/objects/util.py @@ -4,6 +4,8 @@ # This module is part of GitPython and is released under # the BSD License: http://www.opensource.org/licenses/bsd-license.php """Module for general utility functions""" +# flake8: noqa F401 + from abc import ABC, abstractmethod import warnings diff --git a/git/types.py b/git/types.py index 7a25688b..a4e839ba 100644 --- a/git/types.py +++ b/git/types.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # This module is part of GitPython and is released under # the BSD License: http://www.opensource.org/licenses/bsd-license.php +# flake8: noqa import os import sys -- cgit v1.2.1