Skip to content

Commit e69b57f

Browse files
committed
ci: get rid off pylint and attestation
1 parent d234d54 commit e69b57f

File tree

4 files changed

+0
-66
lines changed

4 files changed

+0
-66
lines changed

.github/matchers/pylint.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/cd.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ jobs:
2929
with:
3030
fetch-depth: 0
3131

32-
- name: Generate artifact attestation for sdist and wheel
33-
uses: actions/attest-build-provenance@bdd51370e0416ac948727f861e03c2f05d32d78e # v1.3.2
34-
with:
35-
subject-path: "dist/cuda-histogram-*"
36-
3732
- uses: hynek/build-and-inspect-python-package@v2
3833

3934
publish:
@@ -56,18 +51,4 @@ jobs:
5651
- name: List distributions to be deployed
5752
run: ls -l dist/
5853

59-
- name: Verify sdist artifact attestation
60-
env:
61-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62-
run:
63-
gh attestation verify dist/cuda-histogram-*.tar.gz --repo ${{
64-
github.repository }}
65-
66-
- name: Verify wheel artifact attestation
67-
env:
68-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69-
run:
70-
gh attestation verify dist/cuda-histogram-*.whl --repo ${{
71-
github.repository }}
72-
7354
- uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ jobs:
3030
- uses: pre-commit/[email protected]
3131
with:
3232
extra_args: --hook-stage manual --all-files
33-
- name: Run PyLint
34-
run: |
35-
echo "::add-matcher::$GITHUB_WORKSPACE/.github/matchers/pylint.json"
36-
pipx run nox -s pylint
3733

3834
checks:
3935
name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}

noxfile.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,6 @@ def lint(session: nox.Session) -> None:
2525
)
2626

2727

28-
@nox.session
29-
def pylint(session: nox.Session) -> None:
30-
"""
31-
Run PyLint.
32-
"""
33-
# This needs to be installed into the package environment, and is slower
34-
# than a pre-commit check
35-
session.install(".", "pylint")
36-
session.run("pylint", "cuda_histogram", *session.posargs)
37-
38-
3928
@nox.session(python=ALL_PYTHON)
4029
def tests(session: nox.Session) -> None:
4130
"""

0 commit comments

Comments
 (0)