diff --git a/datum/utils/common_utils.py b/datum/utils/common_utils.py index 03676bf..a075e87 100644 --- a/datum/utils/common_utils.py +++ b/datum/utils/common_utils.py @@ -70,7 +70,8 @@ def __init__(__self, *args: Any, **kwargs: Any): def __setattr__(self, name: str, value: Any) -> None: if hasattr(self.__class__, name): - raise AttributeError("'Dict' object attribute " "'{0}' is read-only".format(name)) + raise AttributeError("'Dict' object attribute " + "'{0}' is read-only".format(name)) else: self[name] = value diff --git a/datum/version.py b/datum/version.py index 69e7f00..88e11a7 100644 --- a/datum/version.py +++ b/datum/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = '1.4.0' +__version__ = '1.6.0' diff --git a/requirements.txt b/requirements.txt index 4b14402..f29b3d3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,19 +1,19 @@ # core lib dep -tensorflow==2.8.1 +tensorflow==2.9.1 opencv-python==4.5.* absl-py>=0.10 tqdm>=4.39.0 # test requirements -pytest==6.2.4 -pytest-cov==2.12.0 -pytest-xdist==2.2.1 -coverage==5.5 +pytest==7.1.2 +pytest-xdist==2.5.0 +pytest-cov==3.0.0 +coverage==6.4.2 # sanity requirements -yapf==0.31.0 +yapf==0.32.0 +pylint==2.14.5 docformatter==1.4 -isort==5.8.0 -mypy==0.812 -pylint==2.8.2 -pycodestyle==2.7.0 +mypy==0.961 +pycodestyle==2.8.0 +isort==5.10.1 diff --git a/tools/ci_build/pylintrc b/tools/ci_build/pylintrc index 39e179e..a07198a 100644 --- a/tools/ci_build/pylintrc +++ b/tools/ci_build/pylintrc @@ -250,12 +250,6 @@ max-line-length=101 # Maximum number of lines in a module. max-module-lines=99999 -# List of optional constructs for which whitespace checking is disabled. `dict- -# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}. -# `trailing-comma` allows a space between comma and closing bracket: (a, ). -# `empty-line` allows space-only lines. -no-space-check= - # Allow the body of a class to be on the same line as the declaration if body # contains single statement. single-line-class-stmt=no