From 1473d5abe0a8ff0e4ca4a4eef79ed4a5eb54cf63 Mon Sep 17 00:00:00 2001 From: tchow-zlai Date: Wed, 2 Apr 2025 18:28:52 -0700 Subject: [PATCH 1/2] chore:remove flake8 Co-authored-by: Thomas Chow --- .github/workflows/test_python.yaml | 9 --------- api/python/tox.ini | 4 +--- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/test_python.yaml b/.github/workflows/test_python.yaml index 0cb8ba4f6e..42cf91c243 100644 --- a/.github/workflows/test_python.yaml +++ b/.github/workflows/test_python.yaml @@ -44,15 +44,6 @@ jobs: python3 -m venv chronon_py_env source chronon_py_env/bin/activate - - name: Run Chronon Python lint (flake8) - shell: bash - run: | - source chronon_py_env/bin/activate - cd api/python/ai/chronon - pip install importlib-metadata==4.11.4 - pip install flake8 - flake8 --extend-ignore=W605,Q000,F631 --exclude=cli - - name: Run Chronon Python lint (ruff) shell: bash run: | diff --git a/api/python/tox.ini b/api/python/tox.ini index 59bcc76aea..82cd943347 100644 --- a/api/python/tox.ini +++ b/api/python/tox.ini @@ -1,4 +1,5 @@ [tox] +[tox] # 3.7+ required (dataclass) envlist = py3 skipsdist = True @@ -30,6 +31,3 @@ commands = --cov-report term \ --cov-report html \ {posargs} - -[flake8] -max-line-length = 120 From 294aba0da0bf1d3ad9e68c4a82e0116a9c3e1c35 Mon Sep 17 00:00:00 2001 From: tchow-zlai Date: Wed, 2 Apr 2025 18:32:37 -0700 Subject: [PATCH 2/2] tox Co-authored-by: Thomas Chow --- api/python/tox.ini | 1 - 1 file changed, 1 deletion(-) diff --git a/api/python/tox.ini b/api/python/tox.ini index 82cd943347..aac7896aee 100644 --- a/api/python/tox.ini +++ b/api/python/tox.ini @@ -1,5 +1,4 @@ [tox] -[tox] # 3.7+ required (dataclass) envlist = py3 skipsdist = True