diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 126f044..fa5ead9 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -8,18 +8,21 @@ on: jobs: build: - runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9] + python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ] steps: - - uses: actions/checkout@master - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@master + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + + - name: Display Python version + run: python --version + - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bab6831..26c8b52 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,17 +1,4 @@ repos: -- repo: https://github.com/pycqa/isort - rev: 5.10.1 - hooks: - - id: isort - files: 'aiohttp_retry/.*' - stages: - - commit - - push - - id: isort - files: 'tests/.*' - stages: - - commit - - push - repo: https://github.com/pre-commit/mirrors-autopep8 rev: 'v1.6.0' # Use the sha / tag you want to point at hooks: diff --git a/requirements_ci.txt b/requirements_ci.txt index 5d32549..068f043 100644 --- a/requirements_ci.txt +++ b/requirements_ci.txt @@ -3,5 +3,4 @@ pytest==7.1.2 pytest-aiohttp==1.0.4 pytest-cov==3.0.0 mypy==0.961 -isort==5.10.1 pre-commit==2.20.0