From d891612d78dbdcf5ef0550048689ff16d881539c Mon Sep 17 00:00:00 2001 From: Albert Tugushev Date: Wed, 27 Jul 2022 22:17:54 +0200 Subject: [PATCH] Fix a typo --- src/flake8/checker.py | 2 +- src/flake8/main/application.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flake8/checker.py b/src/flake8/checker.py index 2bbd6f28..00cff397 100644 --- a/src/flake8/checker.py +++ b/src/flake8/checker.py @@ -29,7 +29,7 @@ SERIAL_RETRY_ERRNOS = { # ENOSPC: Added by sigmavirus24 # > On some operating systems (OSX), multiprocessing may cause an - # > ENOSPC error while trying to trying to create a Semaphore. + # > ENOSPC error while trying to create a Semaphore. # > In those cases, we should replace the customized Queue Report # > class with pep8's StandardReport class to ensure users don't run # > into this problem. diff --git a/src/flake8/main/application.py b/src/flake8/main/application.py index 111ed0cd..15c24770 100644 --- a/src/flake8/main/application.py +++ b/src/flake8/main/application.py @@ -172,7 +172,7 @@ def parse_configuration_and_cli( if parse_options is None: continue - # XXX: ideally we would't have two forms of parse_options + # XXX: ideally we wouldn't have two forms of parse_options try: parse_options( self.option_manager,