PipRequirement had three classmethods with no real connection to the class, so in this commit I'm converting them to staticmethods and passing the necessary data as arguments.
[x] Code coverage from testing does not decrease and new code is covered
[n/a] Docs updated (if applicable)
[n/a] Docs links in the code are still valid (if docs were updated)
Note: if the contribution is external (not from an organization member), the CI
pipeline will not run automatically. After verifying that the CI is safe to run:
PipRequirement had three classmethods with no real connection to the class, so in this commit I'm converting them to staticmethods and passing the necessary data as arguments.
PipRequirement._assess_direct_access_requirement PipRequirement._adjust_direct_access_requirement PipRequirement._split_hashes_from_options
Resolves #488
Maintainers will complete the following section
Note: if the contribution is external (not from an organization member), the CI pipeline will not run automatically. After verifying that the CI is safe to run:
/ok-to-test
(as is the standard for Pipelines as Code)