diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index c0ec346..d17d08f 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -33,10 +33,10 @@ jobs: pre-commit-key: ${{ steps.generate-pre-commit-key.outputs.key }} steps: - name: Check out code from GitHub - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4.1.1 - name: Set up Python ${{ env.DEFAULT_PYTHON }} id: python - uses: actions/setup-python@v4.6.0 + uses: actions/setup-python@v5.0.0 with: python-version: ${{ env.DEFAULT_PYTHON }} check-latest: true @@ -49,7 +49,7 @@ jobs: $GITHUB_OUTPUT - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v3.3.1 + uses: actions/cache@v4.0.2 with: path: venv key: >- @@ -69,7 +69,7 @@ jobs: hashFiles('.pre-commit-config.yaml') }}" >> $GITHUB_OUTPUT - name: Restore pre-commit environment id: cache-precommit - uses: actions/cache@v3.3.1 + uses: actions/cache@v4.0.2 with: path: ${{ env.PRE_COMMIT_CACHE }} key: >- @@ -87,16 +87,16 @@ jobs: needs: prepare-base steps: - name: Check out code from GitHub - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4.1.1 - name: Set up Python ${{ env.DEFAULT_PYTHON }} id: python - uses: actions/setup-python@v4.6.0 + uses: actions/setup-python@v5.0.0 with: python-version: ${{ env.DEFAULT_PYTHON }} check-latest: true - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v3.3.1 + uses: actions/cache@v4.0.2 with: path: venv fail-on-cache-miss: true @@ -105,7 +105,7 @@ jobs: needs.prepare-base.outputs.python-key }} - name: Restore pre-commit environment id: cache-precommit - uses: actions/cache@v3.3.1 + uses: actions/cache@v4.0.2 with: path: ${{ env.PRE_COMMIT_CACHE }} fail-on-cache-miss: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3828d47..ddc0e78 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,10 +20,10 @@ jobs: url: https://pypi.org/project/pylint/ steps: - name: Check out code from Github - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4.1.1 - name: Set up Python ${{ env.DEFAULT_PYTHON }} id: python - uses: actions/setup-python@v4.6.0 + uses: actions/setup-python@v5.0.0 with: python-version: ${{ env.DEFAULT_PYTHON }} check-latest: true diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index ea18930..69f1089 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -36,10 +36,10 @@ jobs: python-key: ${{ steps.generate-python-key.outputs.key }} steps: - name: Check out code from GitHub - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4.1.1 - name: Set up Python ${{ matrix.python-version }} id: python - uses: actions/setup-python@v4.6.0 + uses: actions/setup-python@v5.0.0 with: python-version: ${{ matrix.python-version }} check-latest: true @@ -52,7 +52,7 @@ jobs: $GITHUB_OUTPUT - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v3.3.1 + uses: actions/cache@v4.0.2 with: path: venv key: >- @@ -71,7 +71,7 @@ jobs: pip list | grep 'astroid\|pylint' pytest --durations=10 --benchmark-disable --cov --cov-report= tests/ - name: Upload coverage artifact - uses: actions/upload-artifact@v3.1.2 + uses: actions/upload-artifact@v4.0.0 with: name: coverage-${{ matrix.python-version }} path: .coverage @@ -83,16 +83,16 @@ jobs: needs: tests-linux steps: - name: Check out code from GitHub - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4.1.1 - name: Set up Python 3.11 id: python - uses: actions/setup-python@v4.6.0 + uses: actions/setup-python@v5.0.0 with: python-version: "3.11" check-latest: true - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v3.3.1 + uses: actions/cache@v4.0.2 with: path: venv fail-on-cache-miss: true @@ -100,7 +100,7 @@ jobs: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ needs.tests-linux.outputs.python-key }} - name: Download all coverage artifacts - uses: actions/download-artifact@v3.0.2 + uses: actions/download-artifact@v4.1.8 - name: Combine coverage results run: | . venv/bin/activate @@ -123,16 +123,16 @@ jobs: python-version: ["3.11"] steps: - name: Check out code from GitHub - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4.1.1 - name: Set up Python ${{ matrix.python-version }} id: python - uses: actions/setup-python@v4.6.0 + uses: actions/setup-python@v5.0.0 with: python-version: ${{ matrix.python-version }} check-latest: true - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v3.3.1 + uses: actions/cache@v4.0.2 with: path: venv fail-on-cache-miss: true @@ -155,7 +155,7 @@ jobs: run: >- echo "datetime="$(date "+%Y%m%d_%H%M") >> $GITHUB_OUTPUT - name: Upload benchmark artifact - uses: actions/upload-artifact@v3.1.2 + uses: actions/upload-artifact@v4.0.0 with: name: benchmark-${{ runner.os }}-${{ matrix.python-version }}_${{ @@ -177,10 +177,10 @@ jobs: # Workaround to set correct temp directory on Windows # https://github.com/actions/virtual-environments/issues/712 - name: Check out code from GitHub - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4.1.1 - name: Set up Python ${{ matrix.python-version }} id: python - uses: actions/setup-python@v4.6.0 + uses: actions/setup-python@v5.0.0 with: python-version: ${{ matrix.python-version }} check-latest: true @@ -192,7 +192,7 @@ jobs: }}" >> $env:GITHUB_OUTPUT - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v3.3.1 + uses: actions/cache@v4.0.2 with: path: venv key: >- @@ -223,10 +223,10 @@ jobs: python-version: [3.8] steps: - name: Check out code from GitHub - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4.1.1 - name: Set up Python ${{ matrix.python-version }} id: python - uses: actions/setup-python@v4.6.0 + uses: actions/setup-python@v5.0.0 with: python-version: ${{ matrix.python-version }} check-latest: true @@ -238,7 +238,7 @@ jobs: }}" >> $GITHUB_OUTPUT - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v3.3.1 + uses: actions/cache@v4.0.2 with: path: venv key: >- @@ -267,10 +267,10 @@ jobs: python-version: ["pypy-3.8", "pypy-3.9"] steps: - name: Check out code from GitHub - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4.1.1 - name: Set up Python ${{ matrix.python-version }} id: python - uses: actions/setup-python@v4.6.0 + uses: actions/setup-python@v5.0.0 with: python-version: ${{ matrix.python-version }} check-latest: true @@ -282,7 +282,7 @@ jobs: }}" >> $GITHUB_OUTPUT - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v3.3.1 + uses: actions/cache@v4.0.2 with: path: venv key: >- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c896b0f..4ee6d01 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,17 +3,17 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: "v0.0.263" + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: "v0.1.6" hooks: - id: ruff args: ["--fix"] - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 23.11.0 hooks: - id: black args: [--safe, --quiet] @@ -26,7 +26,7 @@ repos: types: [python] args: ["-rn", "-sn", "--fail-on=I"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.2.0 + rev: v1.7.1 hooks: - id: mypy name: mypy @@ -36,7 +36,7 @@ repos: args: [] require_serial: true - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.0-alpha.9-for-vscode + rev: v3.1.0 hooks: - id: prettier args: [--prose-wrap=always, --print-width=88] diff --git a/requirements_test.txt b/requirements_test.txt index 9a4ac39..e49521e 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,8 +1,8 @@ -r requirements_test_pre_commit.txt -r requirements_test_min.txt coverage~=7.2 -pytest-cov~=4.0 +pytest-cov~=5.0 pytest-profiling~=1.7 -pytest-xdist~=3.2 +pytest-xdist~=3.5 # Type packages for mypy types-pkg_resources==0.1.3 diff --git a/requirements_test_min.txt b/requirements_test_min.txt index d3afa35..abf697d 100644 --- a/requirements_test_min.txt +++ b/requirements_test_min.txt @@ -1,6 +1,6 @@ -e .[testutils,spelling] astroid -typing-extensions~=4.5 -pytest~=7.3 +typing-extensions~=4.11 +pytest~=8.1 pytest-benchmark~=4.0 -pytest-timeout~=2.1 +pytest-timeout~=2.3 diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index 3fba286..feb3dd8 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -4,4 +4,4 @@ pre-commit black ruff mypy -pylint==3.0.0a6 +pylint==3.1.0
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: