Skip to content

Commit

Permalink
ci: get rid off pylint and attestation
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp committed Jul 4, 2024
1 parent d234d54 commit e69b57f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 66 deletions.
32 changes: 0 additions & 32 deletions .github/matchers/pylint.json

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ jobs:
with:
fetch-depth: 0

- name: Generate artifact attestation for sdist and wheel
uses: actions/attest-build-provenance@bdd51370e0416ac948727f861e03c2f05d32d78e # v1.3.2
with:
subject-path: "dist/cuda-histogram-*"

- uses: hynek/build-and-inspect-python-package@v2

publish:
Expand All @@ -56,18 +51,4 @@ jobs:
- name: List distributions to be deployed
run: ls -l dist/

- name: Verify sdist artifact attestation
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run:
gh attestation verify dist/cuda-histogram-*.tar.gz --repo ${{
github.repository }}

- name: Verify wheel artifact attestation
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run:
gh attestation verify dist/cuda-histogram-*.whl --repo ${{
github.repository }}

- uses: pypa/gh-action-pypi-publish@release/v1
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ jobs:
- uses: pre-commit/[email protected]
with:
extra_args: --hook-stage manual --all-files
- name: Run PyLint
run: |
echo "::add-matcher::$GITHUB_WORKSPACE/.github/matchers/pylint.json"
pipx run nox -s pylint

checks:
name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}
Expand Down
11 changes: 0 additions & 11 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,6 @@ def lint(session: nox.Session) -> None:
)


@nox.session
def pylint(session: nox.Session) -> None:
"""
Run PyLint.
"""
# This needs to be installed into the package environment, and is slower
# than a pre-commit check
session.install(".", "pylint")
session.run("pylint", "cuda_histogram", *session.posargs)


@nox.session(python=ALL_PYTHON)
def tests(session: nox.Session) -> None:
"""
Expand Down

0 comments on commit e69b57f

Please sign in to comment.