diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a70653a..0be2d73 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,7 @@ jobs: - name: Install dependencies run: | + sudo apt-get -y update sudo apt-get install -y krb5-config libkrb5-dev python -m pip install -U pip pip install tox @@ -36,8 +37,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Install RPM - run: sudo apt-get install -y rpm libkrb5-dev + - name: Install OS packages + run: | + sudo apt-get -y update + sudo apt-get install -y rpm libkrb5-dev - name: Setup Python uses: actions/setup-python@v2 with: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4b5f3e1..a2a9f7f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,8 +15,10 @@ jobs: uses: actions/setup-python@v2 with: python-version: 3.8 - - name: Install system dependencies - run: sudo apt-get install -y libkrb5-dev + - name: Install OS packages + run: | + sudo apt-get -y update + sudo apt-get install -y libkrb5-dev - name: Install Tox run: pip install tox - name: Run Tox diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 192b5f4..456695a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,11 @@ repos: - repo: https://github.com/ambv/black - rev: 22.3.0 + rev: 23.11.0 hooks: - id: black language_version: python3.8 - repo: https://github.com/pycqa/isort/ - rev: 5.10.1 + rev: 5.12.0 hooks: - id: isort language_version: python3.8 diff --git a/tox.ini b/tox.ini index 66c7cf0..55a77db 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,6 @@ allowlist_externals=sh [testenv:static] commands= - mypy --install-types --non-interactive -p pubtools -p tests sh -c 'pylint pubtools; test $(( $? & (1|2|4|32) )) = 0' black --check . isort --check .