From 5c578e189980e0f0baf48a06503e5713e1b1a45d Mon Sep 17 00:00:00 2001 From: Peter Law Date: Sun, 30 Jun 2024 19:01:03 +0100 Subject: [PATCH] Enable linting of our test code, but not our test data files --- .github/workflows/ci.yml | 2 +- setup.cfg | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a565425d..46355f70 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: - name: Run tests run: | - python -m flake8 jedi setup.py + python -m flake8 jedi test setup.py python -m mypy jedi sith.py setup.py coverage: diff --git a/setup.cfg b/setup.cfg index f792d598..a3648aea 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,7 +21,13 @@ per-file-ignores = jedi/__init__.py:F401 jedi/inference/compiled/__init__.py:F401 jedi/inference/value/__init__.py:F401 -exclude = jedi/third_party/* .tox/* +exclude = + .tox/* + jedi/third_party/* + test/completion/* + test/examples/* + test/refactor/* + test/static_analysis/* [pycodestyle] max-line-length = 100