From ffbcc8d0181b24fcfd190e3d66072fb7b3e997be Mon Sep 17 00:00:00 2001 From: Nathaniel Case Date: Wed, 20 Oct 2021 15:30:00 -0400 Subject: [PATCH] Avoid E800 errors --- .pre-commit-config.yaml | 2 +- bin/pep517_backend/_backend.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e08628ae4..63f6f9d87 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -57,7 +57,7 @@ repos: ^docs/_samples/.*\.py$ - repo: https://gitlab.com/pycqa/flake8.git - rev: 3.8.2 + rev: 3.9.2 hooks: - id: flake8 language_version: python3 diff --git a/bin/pep517_backend/_backend.py b/bin/pep517_backend/_backend.py index 4cf6e5041..463427c6b 100644 --- a/bin/pep517_backend/_backend.py +++ b/bin/pep517_backend/_backend.py @@ -76,15 +76,12 @@ def get_config(): [tool.local.cythonize.kwargs.directives] # This section can contain compiler directives - # NAME = "VALUE" [tool.local.cythonize.kwargs.compile-time-env] # This section can contain compile time env vars - # NAME = "VALUE" [tool.local.cythonize.kwargs.options] # This section can contain cythonize options - # NAME = "VALUE" """ cwd_path = os.path.realpath(os.getcwd()) with open(os.path.join(cwd_path, 'pyproject.toml')) as config_file: