Skip to content

Commit

Permalink
Ran black on the code
Browse files Browse the repository at this point in the history
  • Loading branch information
regebro committed Oct 9, 2023
1 parent 4d23b66 commit c144f32
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion pyroma/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ def main():


def run(mode, argument, quiet=False, skip_tests=None):

if quiet:
logger = logging.getLogger()
logger.disabled = True
Expand Down
2 changes: 0 additions & 2 deletions pyroma/projectdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ def _get_data(path):
# It couldn't build the package, because there is no setup.py or pyproject.toml.
# Let's see if there is a setup.cfg:
try:

metadata = get_setupcfg_data(path)
# Yes, there's a setup.cfg. Pyroma accepted this earlier, but that was probably
# a mistake. For the time being, warn for it, but in a future version just fail.
Expand Down Expand Up @@ -127,7 +126,6 @@ def __exit__(self, exc_type, exc_val, exc_tb):


class SetupMonkey:

used_setuptools = False

def distutils_setup_replacement(self, **kw):
Expand Down
1 change: 0 additions & 1 deletion pyroma/ratings.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ def message(self):


class ValidREST(BaseTest):

weight = 50

def test(self, data):
Expand Down
4 changes: 0 additions & 4 deletions pyroma/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ def __exit__(self, type, value, traceback):


class RatingsTest(unittest.TestCase):

maxDiff = None

def _get_file_rating(self, dirname, skip_tests=None):
Expand Down Expand Up @@ -273,7 +272,6 @@ def test_markdown(self):


class PyPITest(unittest.TestCase):

maxDiff = None

@unittest.mock.patch("xmlrpc.client.ServerProxy", proxystub)
Expand Down Expand Up @@ -322,7 +320,6 @@ def test_complete(self, projectdatamock):


class ProjectDataTest(unittest.TestCase):

maxDiff = None

def test_complete(self):
Expand All @@ -334,7 +331,6 @@ def test_complete(self):


class DistroDataTest(unittest.TestCase):

maxDiff = None

def test_complete(self):
Expand Down

0 comments on commit c144f32

Please sign in to comment.