RPackage: fix style
This commit is contained in:
parent
0f47d68dd7
commit
56e087ad77
@ -43,6 +43,7 @@ def configure_vars(self):
|
||||
"""Arguments to pass to install via ``--configure-vars``."""
|
||||
return []
|
||||
|
||||
@staticmethod
|
||||
def parse_description(data: str) -> Generator:
|
||||
"""Parses CRAN package metadata from
|
||||
https://cran.r-project.org/src/contrib/PACKAGES
|
||||
@ -180,7 +181,7 @@ def verify_package(self):
|
||||
if not merged_dependencies[dep].spec.satisfies(deps[dep].spec):
|
||||
missing_deps.append(
|
||||
f' depends_on("{deps[dep].spec}",'
|
||||
+ f' type=("build", "run"),'
|
||||
+ ' type=("build", "run"),'
|
||||
+ f' when="@{self.pkg.version}:")'
|
||||
)
|
||||
# Remove from dict
|
||||
@ -188,7 +189,7 @@ def verify_package(self):
|
||||
else:
|
||||
missing_deps.append(
|
||||
f' depends_on("{deps[dep].spec}",'
|
||||
+ f' type=("build", "run"),'
|
||||
+ ' type=("build", "run"),'
|
||||
+ f' when="@{self.pkg.version}:")'
|
||||
)
|
||||
for dep in merged_dependencies:
|
||||
|
Loading…
Reference in New Issue
Block a user