From 326131e2c02b10e8bb5df17e4e93b87f537f1b3f Mon Sep 17 00:00:00 2001 From: grydz Date: Tue, 2 Apr 2024 16:33:42 +0400 Subject: [PATCH] Fix: re-introduce setup.cfg for pycodestyle not supporting PEP-621 --- .github/workflows/python.yml | 2 +- setup.cfg | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 setup.cfg diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index c16886f..be5d8ca 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -71,7 +71,7 @@ jobs: - name: Lint check with pycodestyle run: | - python -m pycodestyle --max-line-length=90 --ignore=E203,W503 $PYTHON_SRC + python -m pycodestyle $PYTHON_SRC - name: Lint check with pydocstyle run: | diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..a75e325 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,3 @@ +[pycodestyle] +max-line-length = 90 +ignore = E203,W503