Skip to content

Commit e510e81

Browse files
committed
Fix linter error e pin version to 0.3.5.
1 parent cddca42 commit e510e81

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "structured-profiling"
3-
version = "0.3.4"
3+
version = "0.3.5"
44
description = "A Python library to check for data quality and automatically generate data tests. "
55
authors = ["Clearbox AI <info@clearbox.ai>"]
66
license = "GPL"
@@ -32,4 +32,3 @@ pre-commit = "^2.20.0"
3232
[build-system]
3333
requires = ["poetry-core>=1.0.0"]
3434
build-backend = "poetry.core.masonry.api"
35-
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.3.2"
1+
__version__ = "0.3.5"

structured_data_profiling/data_tests/temporal_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ def identify_dates(data, n_samples=10):
4141
parsed_dates = [
4242
dateparser.parse(str(data2[i].iloc[j]), region="EU") is not None
4343
for j in samples
44-
45-
if data2[i].isna().iloc[j] == False
44+
if data2[i].isna().iloc[j] is False
4645
]
4746
if len(parsed_dates) > 0:
4847
if sum(parsed_dates) / len(parsed_dates) > 0.99:

0 commit comments

Comments
 (0)