diff --git a/README.md b/README.md index fa5013872..b50604a59 100644 --- a/README.md +++ b/README.md @@ -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.| diff --git a/neuromation/api/config_factory.py b/neuromation/api/config_factory.py index 7e401e450..086b83f38 100644 --- a/neuromation/api/config_factory.py +++ b/neuromation/api/config_factory.py @@ -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(