Config-resolver

Latest version: v5.1.0

Safety actively analyzes 630094 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 5

3.3.0

-------------

Features added
~~~~~~~~~~~~~~

* New (optional) argument: ``require_load``. If set to ``True`` creating a
config instance will raise an error if no appropriate config file is found.

* New class: ``SecuredConfig``: This class will refuse to load config files
which are readable by other users than the owner.

Improvments
~~~~~~~~~~~~~~~~~

* Documentation updated/extended.
* Code cleanup.

3.2.2

-------------

Improvments
~~~~~~~~~~~~~~~~~

* Unit tests added

3.2.1

-------------

Fixes/Improvments
~~~~~~~~~~~~~~~~~

* The "group" name has been prefixed to the names of the environment variables.
So, instead of APP_PATH, you can now use GROUP_APP_PATH instead. Not using
the GROUP prefix will still work but emit a DeprecationWarning.

3.2

-----------

Features added
~~~~~~~~~~~~~~

* The call to ``get`` can now take an optional default value. More details can
be found in the docstring.

3.1

-----------

Features added
~~~~~~~~~~~~~~

* It is now possible to extend the search path by prefixing the
``<APP_NAME>_PATH`` variable value with a ``+``

* Changelog added


.. _XDG specification: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

.. vim: set ft=rst :

Page 5 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.