black: clean up noqa comments from most of the code

Many noqa's in the code are no longer necessary now that the column limit is 99
characters. Others can easily be eliminated, and still more can just be made more
specific if they do not have to do with line length.

The only E501's still in the code are in the tests for `spack.util.path` and the tests
for `spack style`.
This commit is contained in:
Todd Gamblin
2022-07-23 20:19:29 -07:00
parent 3fa090f490
commit 156af2a60a
45 changed files with 178 additions and 111 deletions

View File

@@ -8,7 +8,7 @@
def getpywin():
try:
import win32con # noqa
import win32con # noqa: F401
except ImportError:
subprocess.check_call(
[sys.executable, "-m", "pip", "-q", "install", "--upgrade", "pip"])