Skip to content

Commit 691644d

Browse files
authored
fix(deps): updated dependencies
1 parent 82fb612 commit 691644d

File tree

9 files changed

+22
-31
lines changed

9 files changed

+22
-31
lines changed

renku/api/datasets.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,8 @@ def with_dataset(self, name=None):
117117
dataset = Dataset(identifier=identifier, name=name)
118118

119119
if name:
120-
LinkReference.create(
121-
client=self, name='datasets/' + name
122-
).set_reference(path)
120+
LinkReference.create(client=self, name='datasets/' +
121+
name).set_reference(path)
123122

124123
dataset_path = self.path / self.datadir / dataset.name
125124
dataset_path.mkdir(parents=True, exist_ok=True)

renku/cli/_ascii.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ def _format_sha1(graph, node):
3838

3939
if submodules:
4040
submodule = ':'.join(submodules)
41-
return click.style(
42-
submodule, fg='green'
43-
) + '@' + click.style(
41+
return click.style(submodule, fg='green') + '@' + click.style(
4442
node.commit.hexsha[:8], fg='yellow'
4543
)
4644
except KeyError:
@@ -111,8 +109,8 @@ def node_text(self, node):
111109
formatted_latest = (
112110
click.style(' (', fg='yellow') +
113111
click.style('latest -> ', fg='blue', bold=True) +
114-
click.style(str(latest)[:8], fg='red',
115-
bold=True) + click.style(') ', fg='yellow')
112+
click.style(str(latest)[:8], fg='red', bold=True) +
113+
click.style(') ', fg='yellow')
116114
)
117115
else:
118116
formatted_latest = ' '

renku/cli/_graph.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,8 @@ def _from_entity(entity, check_parents=True):
181181
return _from_entity(node.entity)
182182
elif isinstance(node, Entity):
183183
# Link files and directories and generations.
184-
return ([node.parent]
185-
if node.parent is not None else []) + _from_entity(
186-
node, check_parents=False
187-
)
184+
return ([node.parent] if node.parent is not None else
185+
[]) + _from_entity(node, check_parents=False)
188186
elif isinstance(node, Process):
189187
# warnings.warn('Called on run {0}'.format(node), stacklevel=2)
190188
return self.parents(node.activity)

renku/cli/migrate.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,5 @@ def datasets(ctx, client):
7171

7272
old_path.unlink()
7373

74-
LinkReference.create(
75-
client=client, name='datasets/' + name
76-
).set_reference(new_path)
74+
LinkReference.create(client=client,
75+
name='datasets/' + name).set_reference(new_path)

renku/cli/workflow.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,8 @@ def validate_path(ctx, param, value):
108108
def set_name(client, name, path, force):
109109
"""Sets the <name> for remote <path>."""
110110
from renku.models.refs import LinkReference
111-
LinkReference.create(
112-
client=client, name=_ref(name), force=force
113-
).set_reference(path)
111+
LinkReference.create(client=client, name=_ref(name),
112+
force=force).set_reference(path)
114113

115114

116115
@workflow.command()

renku/models/cwl/parameter.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,8 @@ def from_cwl(cls, data):
121121

122122
def to_argv(self, **kwargs):
123123
"""Format command input parameter as shell argument."""
124-
return self.inputBinding.to_argv(
125-
default=self.default, **kwargs
126-
) if self.inputBinding else []
124+
return self.inputBinding.to_argv(default=self.default, **
125+
kwargs) if self.inputBinding else []
127126

128127

129128
@attr.s

renku/models/provenance/qualified.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,9 @@ def from_revision(cls, client, path, revision='HEAD', **kwargs):
105105
class Generation(EntityProxyMixin):
106106
"""Represent an act of generating a file."""
107107

108-
entity = jsonld.ib(
109-
context={
110-
'@reverse': 'prov:qualifiedGeneration',
111-
},
112-
)
108+
entity = jsonld.ib(context={
109+
'@reverse': 'prov:qualifiedGeneration',
110+
}, )
113111
role = jsonld.ib(context='prov:hadRole', default=None)
114112

115113
_activity = attr.ib(

renku/models/refs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ def check_ref_format(cls, name):
5151
- it ends with ".lock", or
5252
- it contains a "@{" portion
5353
"""
54-
return subprocess.run(('git', 'check-ref-format',
55-
name)).returncode == 0
54+
return subprocess.run(('git', 'check-ref-format', name)
55+
).returncode == 0
5656

5757
@name.validator
5858
def name_validator(self, attribute, value):

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@
4040
'pytest>=4.0.0',
4141
'responses>=0.7.0',
4242
'unify>=0.4',
43-
'yapf>=0.26.0',
43+
'yapf>=0.27.0',
4444
]
4545

4646
extras_require = {
4747
'docs': [
48+
'Jinja2>=2.10.1',
4849
'Sphinx>=1.6.3',
4950
'renku-sphinx-theme>=0.1.0',
5051
],
@@ -69,8 +70,8 @@
6970
'PyYAML>=3.12',
7071
'appdirs>=1.4.3',
7172
'attrs>=18.2.0',
72-
'click>=6.7',
7373
'click-completion>=0.5.0',
74+
'click>=6.7',
7475
'cwltool==1.0.20181012180214',
7576
'environ_config>=18.2.0',
7677
'filelock>=3.0.0',
@@ -79,7 +80,7 @@
7980
'pyld>=1.0.3',
8081
'python-dateutil>=2.6.1',
8182
'rdflib-jsonld>=0.4.0',
82-
'requests>=2.20.1',
83+
'requests>=2.21.0',
8384
'tabulate>=0.7.7',
8485
'werkzeug>=0.12',
8586
]

0 commit comments

Comments
 (0)