From 602cb7a010ffd816dedc9a8391b204e9cc08b695 Mon Sep 17 00:00:00 2001 From: Adam <123621952+morington@users.noreply.github.com> Date: Sun, 30 Jun 2024 23:43:45 +0300 Subject: [PATCH] Minor changes --- README.md | 4 ++-- confhub/reader.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6377ca7..e816ad6 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ ********* ## About -Сonfhub is a library that relieves developers of the tedious task of creating and managing configuration files. Instead of wasting valuable time writing configurations, developers can focus on building the site's functionality. +Сonfhub is a library that relieves developers of the tedious task of creating and managing configuration files. Instead of wasting valuable time writing configurations, developers can focus on building the project's functionality. ### History Based on our own experience and the experience of our colleagues, we realized that the process of working with configurations had become a real burden. We wanted something simple and effective. After several weeks of testing our MVP, we identified the strengths and weaknesses and presented the first alpha version of confhub to the world. Despite its shortcomings, it showed prospects for development. @@ -92,7 +92,7 @@ confhub generate_models This command converts your models into configuration files with a `.yml` extension. -Confhub generates two main files: `settings` and `.secrets`. The secrets are automatically added to `.gitignore`. You can also specify `filename` in models to create additional files in the `config` folder. +Confhub generates two main files: `settings` and `.secrets`. Secrets, as well as files that begin with a dot, are automatically added to `.gitignore`. You can also specify `filename` in models to create additional files in the `config` folder. __Do not use `secrets` and `filename` at the same time. There may be unexpected consequences at this point!__ diff --git a/confhub/reader.py b/confhub/reader.py index 0697705..ffca710 100644 --- a/confhub/reader.py +++ b/confhub/reader.py @@ -26,7 +26,7 @@ def __init__( from confhub import Confhub if __name__ == '__main__': - data: type[dataclasses.dataclass] = Confhub(developer_mode=False).data + data: type[dataclasses.dataclass] = Confhub(developer_mode=False).models print(data.postgresql.host) """