Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Possible to use regex/glob pattern to ignore multiple packages? #108

Copy link
Copy link
@afuetterer

Description

@afuetterer
Issue body actions

Before You Begin

Before proceeding, please make sure to follow these steps:

  • I have checked for similar questions in the project's issue tracker to avoid duplicates.
  • I have searched existing issues to see if this question has been asked before.

Your Question

I use licensecheck as a pre-commit hook.

- repo: https://github.com/FHPythonUtils/LicenseCheck/
  rev: ce61579e4b9bb83d0697f78997a400d7a2554a4f  # frozen: 2024.3
  hooks:
  - id: licensecheck

with these settings

[tool.licensecheck]
using = "PEP631"

My dependencies include

dependencies = [
  ...
  "spacy[cuda12x]>=3.8"
  ...
]

In my output I get the following:

│ ✖          │ nvidia-cublas-cu12       │ OTHER/PROPRIETARY LICENSE            │
│ ✖          │ nvidia-cuda-cupti-cu12   │ OTHER/PROPRIETARY LICENSE            │
│ ✖          │ nvidia-cuda-nvrtc-cu12   │ OTHER/PROPRIETARY LICENSE            │
│ ✖          │ nvidia-cuda-runtime-cu12 │ OTHER/PROPRIETARY LICENSE            │
│ ✖          │ nvidia-cudnn-cu12        │ OTHER/PROPRIETARY LICENSE            │
│ ✖          │ nvidia-cufft-cu12        │ OTHER/PROPRIETARY LICENSE            │
│ ✖          │ nvidia-curand-cu12       │ OTHER/PROPRIETARY LICENSE            │
│ ✖          │ nvidia-cusolver-cu12     │ OTHER/PROPRIETARY LICENSE            │
│ ✖          │ nvidia-cusparse-cu12     │ OTHER/PROPRIETARY LICENSE            │
│ ✖          │ nvidia-cusparselt-cu12   │ NVIDIA PROPRIETARY SOFTWARE          │
│ ✖          │ nvidia-nccl-cu12         │ OTHER/PROPRIETARY LICENSE            │
│ ✖          │ nvidia-nvjitlink-cu12    │ OTHER/PROPRIETARY LICENSE            │
│ ✖          │ nvidia-nvtx-cu12         │ OTHER/PROPRIETARY LICENSE            │

Is there a way to ignore packages with something like nvidia-*?

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

questionFurther information is requestedFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.