Skip to content

Commit

Permalink
Fix sonar lint issues (sodadata#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaykiran authored Sep 9, 2021
1 parent 4b8ee47 commit 68882b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions core/sodasql/scan/scan_column.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def __init__(self, scan, column_metadata: ColumnMetadata):
self.is_default_non_missing_and_valid_condition = \
self.is_default_missing_condition and self.is_default_valid_condition


self.is_valid_enabled = \
(self.validity is not None or self.is_validity_metric_enabled) \
or self.scan_yml.is_any_metric_enabled([Metric.DISTINCT, Metric.UNIQUENESS], self.column_name)
Expand Down Expand Up @@ -116,7 +115,6 @@ def is_any_metric_enabled(self, metrics: List[str]):

def is_metric_enabled(self, metric: str):
if self.scan_yml_column \
and self.scan_yml_column \
and metric in self.scan_yml_column.metrics:
return True
if self.scan_yml \
Expand Down
4 changes: 2 additions & 2 deletions reports/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<title>Reports</title>
</head>
Expand All @@ -12,4 +12,4 @@ <h1>Reports</h1>
</ul>

</body>
</html>
</html>

0 comments on commit 68882b7

Please sign in to comment.