Skip to content

Commit

Permalink
dvc: don't format for python3.6
Browse files Browse the repository at this point in the history
We need dvc to work on older python versions, so we can't use the new
and shiny syntax.

Signed-off-by: Ruslan Kuprieiev <ruslan@iterative.ai>
  • Loading branch information
efiop committed Jan 31, 2019
1 parent 7240a57 commit eff4e1f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dvc/remote/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion dvc/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[tool.black]
line-length = 88
py36 = true
include = '\.pyi?$'
exclude = '''
/(
Expand Down

0 comments on commit eff4e1f

Please sign in to comment.