diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-05-18 07:53:43 +0800 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-05-18 07:53:43 +0800 |
commit | b4b238057e7913c93245b484bdd50131dafd71f3 (patch) | |
tree | a3394cfe902ce7edd07c89420c21c13274a2d295 /git | |
parent | a7c5d887e943aa51f2270e517954c024a8c01500 (diff) | |
download | gitpython-b4b238057e7913c93245b484bdd50131dafd71f3.tar.gz |
Revert "Remove flake8 linting in favor of `black` formatting"
This reverts commit a7c5d887e943aa51f2270e517954c024a8c01500.
Diffstat (limited to 'git')
-rw-r--r-- | git/__init__.py | 1 | ||||
-rw-r--r-- | git/cmd.py | 2 | ||||
-rw-r--r-- | git/compat.py | 1 | ||||
-rw-r--r-- | git/index/__init__.py | 1 | ||||
-rw-r--r-- | git/objects/__init__.py | 1 | ||||
-rw-r--r-- | git/refs/__init__.py | 1 | ||||
-rw-r--r-- | git/repo/__init__.py | 1 |
7 files changed, 7 insertions, 1 deletions
diff --git a/git/__init__.py b/git/__init__.py index 209a4d90..3f26886f 100644 --- a/git/__init__.py +++ b/git/__init__.py @@ -3,6 +3,7 @@ # # This module is part of GitPython and is released under # the BSD License: http://www.opensource.org/licenses/bsd-license.php +# flake8: noqa # @PydevCodeAnalysisIgnore from git.exc import * # @NoMove @IgnorePep8 import inspect @@ -947,7 +947,7 @@ class Git(LazyMixin): ) else: cmd_not_found_exception = ( - FileNotFoundError + FileNotFoundError # NOQA # exists, flake8 unknown @UndefinedVariable ) # end handle diff --git a/git/compat.py b/git/compat.py index 20e6b979..e7ef28c3 100644 --- a/git/compat.py +++ b/git/compat.py @@ -5,6 +5,7 @@ # This module is part of GitPython and is released under # the BSD License: http://www.opensource.org/licenses/bsd-license.php """utilities to help provide compatibility with python 3""" +# flake8: noqa import locale import os diff --git a/git/index/__init__.py b/git/index/__init__.py index e50e4f53..96b721f0 100644 --- a/git/index/__init__.py +++ b/git/index/__init__.py @@ -1,3 +1,4 @@ """Initialize the index package""" +# flake8: noqa from .base import * from .typ import * diff --git a/git/objects/__init__.py b/git/objects/__init__.py index 01a6395b..d2e1e53a 100644 --- a/git/objects/__init__.py +++ b/git/objects/__init__.py @@ -1,6 +1,7 @@ """ Import all submodules main classes into the package space """ +# flake8: noqa import inspect from .base import * diff --git a/git/refs/__init__.py b/git/refs/__init__.py index c17856ae..1486dffe 100644 --- a/git/refs/__init__.py +++ b/git/refs/__init__.py @@ -1,3 +1,4 @@ +# flake8: noqa # import all modules in order, fix the names they require from .symbolic import * from .reference import * diff --git a/git/repo/__init__.py b/git/repo/__init__.py index 0ca758cb..23c18db8 100644 --- a/git/repo/__init__.py +++ b/git/repo/__init__.py @@ -1,2 +1,3 @@ """Initialize the Repo package""" +# flake8: noqa from .base import Repo as Repo |