diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f9422f0..da5d7e5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -46,7 +46,7 @@ jobs: timeout-minutes: 30 steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: submodules: "recursive" fetch-depth: 0 @@ -129,7 +129,7 @@ jobs: timeout-minutes: 15 steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: submodules: "recursive" fetch-depth: 0 @@ -141,8 +141,7 @@ jobs: update-environment: true - name: Upgrade pip - run: | - python -m pip install --upgrade pip setuptools + run: python -m pip install --upgrade pip setuptools - name: Set __release__ if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 0dfe35c..f70b86b 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -61,7 +61,7 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 1781175..87c9523 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -23,7 +23,7 @@ jobs: timeout-minutes: 30 steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: fetch-depth: 0 @@ -34,12 +34,10 @@ jobs: update-environment: true - name: Upgrade pip - run: | - python -m pip install --upgrade pip setuptools + run: python -m pip install --upgrade pip setuptools - name: Install dependencies - run: | - python -m pip install -r requirements.txt + run: python -m pip install -r requirements.txt - name: Import tests run: | @@ -63,8 +61,7 @@ jobs: ) - name: Install linters - run: | - python -m pip install --upgrade pre-commit pylint[spelling] mypy typing-extensions + run: python -m pip install --upgrade pre-commit 'pylint[spelling]' mypy typing-extensions - name: pre-commit run: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ccc04be..5e65b03 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: args: [--ignore-case] files: ^docs/source/spelling_wordlist\.txt$ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.4 + rev: v0.14.6 hooks: - id: ruff-check args: [--fix, --exit-non-zero-on-fix] diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 098bb86..c82378e 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -60,7 +60,7 @@ representative at an online or offline event. Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at -XuehaiPan@pku.edu.cn. +[XuehaiPan@pku.edu.cn](mailto:XuehaiPan@pku.edu.cn). All complaints will be reviewed and investigated promptly and fairly. All community leaders are obligated to respect the privacy and security of the diff --git a/README.md b/README.md index 6b0bfe2..ab96461 100644 --- a/README.md +++ b/README.md @@ -212,8 +212,7 @@ pip3 install git+https://github.com/XuehaiPan/nvitop.git#egg=nvitop Or, clone this repo and install manually: ```bash -git clone --depth=1 https://github.com/XuehaiPan/nvitop.git -cd nvitop +git clone --depth=1 https://github.com/XuehaiPan/nvitop.git && cd nvitop pip3 install . ``` diff --git a/docs/source/index.rst b/docs/source/index.rst index b9d49c5..dbb30b3 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -77,8 +77,7 @@ Or, clone this repo and install manually: .. code:: bash - git clone --depth=1 https://github.com/XuehaiPan/nvitop.git - cd nvitop + git clone --depth=1 https://github.com/XuehaiPan/nvitop.git && cd nvitop pip3 install . If this repo is useful to you, please star ⭐️ it to let more people know 🤗. |GitHub Repo Stars|_