File tree Expand file tree Collapse file tree 14 files changed +21
-4
lines changed
data_validation_framework Expand file tree Collapse file tree 14 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 11[codespell]
2- skip = .git/*
2+ skip = .git/*,*.pdf
Original file line number Diff line number Diff line change 11"""Specific tasks."""
2+
23import copy
34import json
45import logging
Original file line number Diff line number Diff line change 11"""Util functions."""
2+
23import logging
34import warnings
45from copy import deepcopy
Original file line number Diff line number Diff line change 11"""Some tools to generate RST files."""
2+
23import re
34import textwrap
45
Original file line number Diff line number Diff line change 11"""Specific targets."""
2+
23import warnings
34
45from luigi_tools .target import OutputLocalTarget
Original file line number Diff line number Diff line change 11"""Specific tasks."""
2+
23import logging
34import sys
45import time
1920from luigi_tools .parameter import OptionalBoolParameter
2021from luigi_tools .task import LogTargetMixin
2122from luigi_tools .task import RerunMixin
22- from numpy import VisibleDeprecationWarning
23+
24+ try :
25+ from numpy import VisibleDeprecationWarning
26+ except ImportError :
27+ from numpy .exceptions import VisibleDeprecationWarning
2328
2429from data_validation_framework .report import make_report
2530from data_validation_framework .result import ValidationResult
@@ -39,7 +44,7 @@ class ValidationError(Exception):
3944
4045
4146class TagResultOutputMixin :
42- """Initialize target prefixes and optionally add a tag to the resut directory.
47+ """Initialize target prefixes and optionally add a tag to the result directory.
4348
4449 .. warning::
4550
@@ -163,7 +168,7 @@ def inputs(self):
163168 data_dir = OptionalStrParameter (
164169 default = "data" ,
165170 description = (
166- ":str: name of folder to store addittional files created by a task (the provided "
171+ ":str: name of folder to store additional files created by a task (the provided "
167172 "validation function must take this as argument)."
168173 ),
169174 )
Original file line number Diff line number Diff line change 11"""Util functions."""
2+
23import contextlib
34import logging
45import multiprocessing
Original file line number Diff line number Diff line change 11"""Tests suite for the data-validation-framework package."""
2+
23import re
34from pathlib import Path
45
Original file line number Diff line number Diff line change 11"""Configuration for the pytest test suite."""
2+
23# pylint: disable=missing-function-docstring
34import os
45from pathlib import Path
Original file line number Diff line number Diff line change 11"""Test the data_validation_framework.result module."""
2+
23import pandas as pd
34import pytest
45
You can’t perform that action at this time.
0 commit comments