Skip to content

Commit e3d1a63

Browse files
committed
reword docs and make lint
1 parent dfacdcd commit e3d1a63

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

mkdocs/docs/configuration.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ hide:
2828

2929
There are three ways to pass in configuration:
3030

31-
- Using the `.pyiceberg.yaml` configuration file stored in either the directory specified by the `PYICEBERG_HOME` environment variable, the home directory, or current working directory.
31+
- Using the `.pyiceberg.yaml` configuration file (Recommended)
3232
- Through environment variables
3333
- By passing in credentials through the CLI or the Python API
3434

35-
The configuration file is recommended since that's the easiest way to manage the credentials.
35+
The configuration file can be stored in either the directory specified by the `PYICEBERG_HOME` environment variable, the home directory, or current working directory (in this order).
3636

3737
To change the path searched for the `.pyiceberg.yaml`, you can overwrite the `PYICEBERG_HOME` environment variable.
3838

tests/utils/test_config.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,6 @@ def create_config_files(
164164
if config_setup.get("config_location") in ["current", "both"]:
165165
monkeypatch.chdir(paths["current"])
166166

167-
assert Config()._from_configuration_files() == expected_result, (
168-
f"Unexpected configuration result for content: {expected_result}"
169-
)
167+
assert (
168+
Config()._from_configuration_files() == expected_result
169+
), f"Unexpected configuration result for content: {expected_result}"

0 commit comments

Comments
 (0)