We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
contributors-as-maintainers
1 parent 159d896 commit a677a90Copy full SHA for a677a90
hatch_nodejs_version/metadata_source.py
@@ -67,9 +67,16 @@ def fields(self) -> None | set[str]:
67
@property
68
def contributors_as_maintainers(self) -> bool:
69
if self.__contributors_as_maintainers is None:
70
- self.__contributors_as_maintainers = self.config.get(
+ contributors_as_maintainers = self.config.get(
71
"contributors-as-maintainers", True
72
)
73
+ if not isinstance(contributors_as_maintainers, bool):
74
+ raise TypeError(
75
+ "Option `contributors-as-maintainers` for build hook `{}` must be a boolean".format(
76
+ self.PLUGIN_NAME
77
+ )
78
79
+ self.__contributors_as_maintainers = contributors_as_maintainers
80
return self.__contributors_as_maintainers
81
82
def load_package_data(self):
0 commit comments