Skip to content

Commit

Permalink
fix: remove deprecated and add missing arguments to internal functions
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Mar 2, 2022
1 parent 0d19ab0 commit 93a7e39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion snakemake/dag.py
Expand Up @@ -1782,7 +1782,7 @@ def build_ruledag(job, key=lambda job: job.rule.name):
for job in self.targetjobs:
build_ruledag(job)

return self._dot(dag.keys(), print_wildcards=False, print_types=False, dag=dag)
return self._dot(dag.keys())

def rule_dot(self):
graph = defaultdict(set)
Expand Down
2 changes: 1 addition & 1 deletion snakemake/deployment/conda.py
Expand Up @@ -701,7 +701,7 @@ def __hash__(self):
...

@abstractmethod
def __eq__(self):
def __eq__(self, other):
...


Expand Down
4 changes: 2 additions & 2 deletions snakemake/remote/__init__.py
Expand Up @@ -52,8 +52,8 @@ def __copy__(self):
copied_wrapped = copy.copy(self.__wrapped__)
return type(self)(copied_wrapped)

def __deepcopy__(self):
copied_wrapped = copy.deepcopy(self.__wrapped__)
def __deepcopy__(self, memo):
copied_wrapped = copy.deepcopy(self.__wrapped__, memo)
return type(self)(copied_wrapped)


Expand Down

0 comments on commit 93a7e39

Please sign in to comment.