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:
Ruslan Kuprieiev
2019-01-31 03:21:22 +02:00
parent 7240a57253
commit eff4e1fe6c
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -1,6 +1,5 @@
[tool.black]
line-length = 88
py36 = true
include = '\.pyi?$'
exclude = '''
/(