mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
dvc: don't format for python3.6
We need dvc to work on older python versions, so we can't use the new and shiny syntax. Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ class RemoteHTTP(RemoteBase):
|
||||
scheme = "http"
|
||||
REGEX = r"^https?://.*$"
|
||||
REQUEST_TIMEOUT = 10
|
||||
CHUNK_SIZE = 1_000_000 # Megabyte
|
||||
CHUNK_SIZE = 1000000 # Megabyte
|
||||
PARAM_CHECKSUM = "etag"
|
||||
|
||||
def __init__(self, project, config):
|
||||
|
||||
+1
-1
@@ -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 = 100_000_000
|
||||
STATE_ROW_LIMIT = 100000000
|
||||
STATE_ROW_CLEANUP_QUOTA = 50
|
||||
|
||||
MAX_INT = 2 ** 63 - 1
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
[tool.black]
|
||||
line-length = 88
|
||||
py36 = true
|
||||
include = '\.pyi?$'
|
||||
exclude = '''
|
||||
/(
|
||||
|
||||
Reference in New Issue
Block a user