diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4bd68b46..7e24f9f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: with: python-version: ${{ matrix.python-version }} env: - PIP_TRUSTED_HOST: ${{ contains(fromJson('["3.5"]'), matrix.python-version) && env.PYPI-HOSTS || '' }} + PIP_TRUSTED_HOST: ${{ contains(fromJSON('["3.5"]'), matrix.python-version) && env.PYPI-HOSTS || '' }} - name: Install dependencies (linux) if: contains(matrix.os, 'ubuntu') run: | @@ -67,10 +67,10 @@ jobs: # Python 2.7 and Python 3.5 are no longer supported by proxy.py - name: Start proxy server, when supported (linux) run: python -m proxy --hostname 127.0.0.1 --log-level DEBUG & - if: contains(fromJson('["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]'), matrix.python-version) && contains(matrix.os, 'ubuntu') + if: contains(fromJSON('["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]'), matrix.python-version) && contains(matrix.os, 'ubuntu') - name: Start proxy server, when supported (windows) run: Start-Process python -ArgumentList '-m proxy --hostname 127.0.0.1 --log-level DEBUG' - if: contains(fromJson('["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]'), matrix.python-version) && contains(matrix.os, 'windows') + if: contains(fromJSON('["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]'), matrix.python-version) && contains(matrix.os, 'windows') - name: Run unit tests run: coverage run -m unittest discover env: diff --git a/.pylintrc b/.pylintrc index dfd9899b..82264b6c 100644 --- a/.pylintrc +++ b/.pylintrc @@ -9,6 +9,7 @@ disable= super-with-arguments, too-few-public-methods, too-many-arguments, + too-many-positional-arguments, too-many-branches, too-many-function-args, too-many-instance-attributes,