From a7c5d887e943aa51f2270e517954c024a8c01500 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 18 May 2022 07:52:20 +0800 Subject: Remove flake8 linting in favor of `black` formatting `flake8` seems to dislike the formatting of black. --- git/__init__.py | 1 - git/cmd.py | 2 +- git/compat.py | 1 - git/index/__init__.py | 1 - git/objects/__init__.py | 1 - git/refs/__init__.py | 1 - git/repo/__init__.py | 1 - 7 files changed, 1 insertion(+), 7 deletions(-) (limited to 'git') 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 diff --git a/git/cmd.py b/git/cmd.py index 12409b0c..c9e23ede 100644 --- a/git/cmd.py +++ b/git/cmd.py @@ -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 -- cgit v1.2.1