odoo-plus / odootools

Odoo Tools
GNU General Public License v3.0
21 stars 7 forks source link

Added properties to parse environment variables and make it easier to #19

Closed llacroix closed 1 year ago

llacroix commented 1 year ago

document and extend. Environment variables are now lazy loaded also.

codecov[bot] commented 1 year ago

Codecov Report

Base: 94.51% // Head: 94.71% // Increases project coverage by +0.19% :tada:

Coverage data is based on head (056f867) compared to base (1e41fb8). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release-0.1.6 #19 +/- ## ================================================= + Coverage 94.51% 94.71% +0.19% ================================================= Files 74 74 Lines 4944 5125 +181 ================================================= + Hits 4673 4854 +181 Misses 271 271 ``` | [Impacted Files](https://codecov.io/gh/llacroix/odoo-tools/pull/19?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Lo%C3%AFc+Faure-Lacroix) | Coverage Δ | | |---|---|---| | [tests/test\_compat.py](https://codecov.io/gh/llacroix/odoo-tools/pull/19?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Lo%C3%AFc+Faure-Lacroix#diff-dGVzdHMvdGVzdF9jb21wYXQucHk=) | `100.00% <ø> (ø)` | | | [odoo\_tools/api/context.py](https://codecov.io/gh/llacroix/odoo-tools/pull/19?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Lo%C3%AFc+Faure-Lacroix#diff-b2Rvb190b29scy9hcGkvY29udGV4dC5weQ==) | `100.00% <100.00%> (ø)` | | | [odoo\_tools/compat.py](https://codecov.io/gh/llacroix/odoo-tools/pull/19?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Lo%C3%AFc+Faure-Lacroix#diff-b2Rvb190b29scy9jb21wYXQucHk=) | `100.00% <100.00%> (ø)` | | | [odoo\_tools/docker/sudo\_entrypoint.py](https://codecov.io/gh/llacroix/odoo-tools/pull/19?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Lo%C3%AFc+Faure-Lacroix#diff-b2Rvb190b29scy9kb2NrZXIvc3Vkb19lbnRyeXBvaW50LnB5) | `100.00% <100.00%> (ø)` | | | [odoo\_tools/env.py](https://codecov.io/gh/llacroix/odoo-tools/pull/19?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Lo%C3%AFc+Faure-Lacroix#diff-b2Rvb190b29scy9lbnYucHk=) | `100.00% <100.00%> (ø)` | | | [odoo\_tools/utils.py](https://codecov.io/gh/llacroix/odoo-tools/pull/19?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Lo%C3%AFc+Faure-Lacroix#diff-b2Rvb190b29scy91dGlscy5weQ==) | `100.00% <100.00%> (ø)` | | | [tests/test\_envvars.py](https://codecov.io/gh/llacroix/odoo-tools/pull/19?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Lo%C3%AFc+Faure-Lacroix#diff-dGVzdHMvdGVzdF9lbnZ2YXJzLnB5) | `100.00% <100.00%> (ø)` | | | [tests/test\_utils.py](https://codecov.io/gh/llacroix/odoo-tools/pull/19?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Lo%C3%AFc+Faure-Lacroix#diff-dGVzdHMvdGVzdF91dGlscy5weQ==) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Lo%C3%AFc+Faure-Lacroix). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Lo%C3%AFc+Faure-Lacroix)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.