diff --git a/dvc/remote/http.py b/dvc/remote/http.py index c4f728596..c7046f309 100644 --- a/dvc/remote/http.py +++ b/dvc/remote/http.py @@ -28,7 +28,7 @@ class RemoteHTTP(RemoteBase): scheme = "http" REGEX = r"^https?://.*$" REQUEST_TIMEOUT = 10 - CHUNK_SIZE = 1000000 # Megabyte + CHUNK_SIZE = 1_000_000 # Megabyte PARAM_CHECKSUM = "etag" def __init__(self, project, config): diff --git a/dvc/state.py b/dvc/state.py index c166cc48f..568990a44 100644 --- a/dvc/state.py +++ b/dvc/state.py @@ -63,7 +63,7 @@ class State(object): # pylint: disable=too-many-instance-attributes "path TEXT PRIMARY KEY, " "inode INTEGER NOT NULL, " "mtime TEXT NOT NULL" ) - STATE_ROW_LIMIT = 100000000 + STATE_ROW_LIMIT = 100_000_000 STATE_ROW_CLEANUP_QUOTA = 50 MAX_INT = 2 ** 63 - 1