From 4be061cfde8eb9418587df7ac7d2536fb12eb29a Mon Sep 17 00:00:00 2001 From: Ray Chan Date: Fri, 3 May 2024 12:24:39 -0700 Subject: [PATCH] Fix ci command --- .github/workflows/ci.yaml | 8 ++++---- .pre-commit-config.yaml | 2 +- README.rst | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f3ac9f0..25292e3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,12 +8,12 @@ jobs: fail-fast: false matrix: tox: - - py38 - - py310 + - '3.8' + - '3.10' steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: ${{ matrix.python-version }} - run: pip install tox - - run: tox -e ${{ matrix.tox }} + - run: tox -e py diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 635c93c..c4563b8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: args: - -i - --ignore=E309,E501 -- repo: https://gitlab.com/pycqa/flake8.git +- repo: https://github.com/PyCQA/flake8 rev: 3.7.6 hooks: - id: flake8 diff --git a/README.rst b/README.rst index 1f0167c..e27de3b 100644 --- a/README.rst +++ b/README.rst @@ -52,7 +52,7 @@ How to contribute :: - tox -e py27 # Note: use py35 for Python 3.5, see tox.ini for possible values + tox -e py38 # Note: use py310 for Python 3.10, see tox.ini for possible values #. Commit patches: http://gitref.org/basic/ #. Push to github: ``git pull && git push origin``