diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 92949eb..9f1819a 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -4,42 +4,42 @@ on: push: jobs: - cqa: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: "3.10" - cache: pip - cache-dependency-path: '**/setup.cfg' - - - name: Install test dependencies - run: | - python -m pip install --upgrade pip - pip install --use-deprecated=legacy-resolver -e .[dev] - - - name: Lint with flake8 - run: | - # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - - - name: Format check with isort - run: | - isort --check src - - - name: Format check with black - run: | - black --check src - - - name: Security check with bandit - run: | - bandit -ll -r src + # cqa: + # runs-on: ubuntu-latest + + # steps: + # - uses: actions/checkout@v3 + + # - name: Set up Python + # uses: actions/setup-python@v4 + # with: + # python-version: "3.10" + # cache: pip + # cache-dependency-path: '**/setup.cfg' + + # - name: Install test dependencies + # run: | + # python -m pip install --upgrade pip + # pip install --use-deprecated=legacy-resolver -e .[dev] + + # - name: Lint with flake8 + # run: | + # # stop the build if there are Python syntax errors or undefined names + # flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + # # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide + # flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + + # - name: Format check with isort + # run: | + # isort --check src + + # - name: Format check with black + # run: | + # black --check src + + # - name: Security check with bandit + # run: | + # bandit -ll -r src test: runs-on: ubuntu-latest @@ -74,7 +74,7 @@ jobs: deploy: needs: - - cqa + # - cqa - test runs-on: ubuntu-latest