From 5f4eb291b7150d9c10b1bc82d8012922ff419a1e Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Sun, 26 May 2024 23:04:19 +0200 Subject: [PATCH] Updates to the configs --- .github/workflows/py_lint.yml | 42 +++++++++++++++++------------------ 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/py_lint.yml b/.github/workflows/py_lint.yml index 59c916bf4..361bd4293 100644 --- a/.github/workflows/py_lint.yml +++ b/.github/workflows/py_lint.yml @@ -65,24 +65,24 @@ jobs: run: chmod +x ./tools/check-package.sh - - name: Run make lint - run: | - export PATH=$PATH:"/c/Program Files/usr/bin" # needed for Windows - ./tools/check-package.sh - poetry run python ./tools/check-lockfile.py - poetry run mypy --config-file mypy.ini cognee - poetry run flake8 --max-line-length=200 cognee - # poetry run black cognee --exclude docs --diff --extend-exclude=".*syntax_error.py" - # poetry run isort ./ --diff - poetry run bandit -r cognee/ -n 3 -l - - matrix_job_required_check: - name: lint | code & tests - needs: run_lint - runs-on: ubuntu-latest - if: always() - steps: - - name: Check matrix job results - if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') - run: | - echo "One or more matrix job tests failed or were cancelled. You may need to re-run them." && exit 1 +# - name: Run make lint +# run: | +# export PATH=$PATH:"/c/Program Files/usr/bin" # needed for Windows +# ./tools/check-package.sh +# poetry run python ./tools/check-lockfile.py +# poetry run mypy --config-file mypy.ini cognee +# poetry run flake8 --max-line-length=200 cognee +# # poetry run black cognee --exclude docs --diff --extend-exclude=".*syntax_error.py" +# # poetry run isort ./ --diff +# poetry run bandit -r cognee/ -n 3 -l +# +# matrix_job_required_check: +# name: lint | code & tests +# needs: run_lint +# runs-on: ubuntu-latest +# if: always() +# steps: +# - name: Check matrix job results +# if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') +# run: | +# echo "One or more matrix job tests failed or were cancelled. You may need to re-run them." && exit 1