Skip to content

Commit

Permalink
update tensorflow and lint deps versions
Browse files Browse the repository at this point in the history
  • Loading branch information
n3011 committed Aug 3, 2022
1 parent 27c1cdc commit 473465f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 18 deletions.
3 changes: 2 additions & 1 deletion datum/utils/common_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion datum/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
20 changes: 10 additions & 10 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
6 changes: 0 additions & 6 deletions tools/ci_build/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 473465f

Please sign in to comment.