Class: Licensee::Matchers::PyProject
- Defined in:
- lib/licensee/matchers/pyproject.rb
Overview
Matches license identifiers in pyproject.toml. Based on Matchers::Cargo
Constant Summary collapse
- LICENSE_REGEX =
/^\s*['"]?license['"]?\s*=\s*['"]([^'"]+)['"]\s*/ix
Constants inherited from Package
Licensee::Matchers::Package::SPDX_OPERATORS, Licensee::Matchers::Package::SPDX_SUFFIX_REGEX, Licensee::Matchers::Package::SPDX_TOKEN_REGEX
Constants inherited from Matcher
Instance Attribute Summary
Attributes inherited from Matcher
Method Summary
Methods inherited from Package
#confidence, #match, #spdx_expression_licenses
Methods inherited from Matcher
#confidence, #initialize, #match, #name
Methods included from HashHelper
Constructor Details
This class inherits a constructor from Licensee::Matchers::Matcher