diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-05-18 07:52:20 +0800 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-05-18 07:52:20 +0800 |
commit | a7c5d887e943aa51f2270e517954c024a8c01500 (patch) | |
tree | bb7ade707b1c6a42c373cbf602174e7946d9cfbf /git | |
parent | 21ec529987d10e0010badd37f8da3274167d436f (diff) | |
download | gitpython-a7c5d887e943aa51f2270e517954c024a8c01500.tar.gz |
Remove flake8 linting in favor of `black` formatting
`flake8` seems to dislike the formatting of black.
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, 1 insertions, 7 deletions
diff --git a/git/__init__.py b/git/__init__.py index 3f26886f..209a4d90 100644 --- a/git/__init__.py +++ b/git/__init__.py @@ -3,7 +3,6 @@ # # 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 # NOQA # exists, flake8 unknown @UndefinedVariable + FileNotFoundError ) # end handle diff --git a/git/compat.py b/git/compat.py index e7ef28c3..20e6b979 100644 --- a/git/compat.py +++ b/git/compat.py @@ -5,7 +5,6 @@ # 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 96b721f0..e50e4f53 100644 --- a/git/index/__init__.py +++ b/git/index/__init__.py @@ -1,4 +1,3 @@ """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 d2e1e53a..01a6395b 100644 --- a/git/objects/__init__.py +++ b/git/objects/__init__.py @@ -1,7 +1,6 @@ """ 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 1486dffe..c17856ae 100644 --- a/git/refs/__init__.py +++ b/git/refs/__init__.py @@ -1,4 +1,3 @@ -# 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 23c18db8..0ca758cb 100644 --- a/git/repo/__init__.py +++ b/git/repo/__init__.py @@ -1,3 +1,2 @@ """Initialize the Repo package""" -# flake8: noqa from .base import Repo as Repo |