Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Nov 20, 2019
1 parent c1c428f commit 983fbb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Name | Description|
|----|------------|
|_\-v, --verbose_|Give more output. Option is additive, and can be used up to 2 times.|
|_\-q, --quiet_|Give less output. Option is additive, and can be used up to 2 times.|
|_\--neuromation-config PATH_|Path to config file.|
|_\--neuromation-config PATH_|Path to config directory.|
|_\--show-traceback_|Show python traceback on error, useful for debugging the tool.|
|_--color \[yes | no | auto]_|Color mode.|
|_\--disable-pypi-version-check_|Don't periodically check PyPI to determine whether a new version of Neuro Platform CLI is available for download.|
Expand Down
3 changes: 2 additions & 1 deletion neuromation/api/config_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ def _read(self) -> _Config:
if stat_dir.st_mode & 0o777 != 0o700:
raise ConfigError(
f"Config {self._path} has compromised permission bits, "
f"run 'chmod 700 {self._path}' first")
f"run 'chmod 700 {self._path}' first"
)
stat_file = config_file.stat()
if stat_file.st_mode & 0o777 != 0o600:
raise ConfigError(
Expand Down

0 comments on commit 983fbb3

Please sign in to comment.