Add persistent global configuration via python-dotenv#352
Conversation
Co-authored-by: CodyCBakerPhD <51133164+CodyCBakerPhD@users.noreply.github.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #352 +/- ##
==========================================
+ Coverage 85.42% 85.75% +0.32%
==========================================
Files 41 42 +1
Lines 1818 1874 +56
==========================================
+ Hits 1553 1607 +54
- Misses 265 267 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
for more information, see https://pre-commit.ci
|
@copilot resolve the merge conflicts in this pull request |
Co-authored-by: CodyCBakerPhD <51133164+CodyCBakerPhD@users.noreply.github.com>
Resolved in 7b43fa6. The conflict in |
python-dotenvas a core dependency inpyproject.tomlsrc/nwb2bids/_core/_global_config.pywith helper functions to load from.envfiles at global (~/.nwb2bids/.env) and local (.nwb2bids/.envin dataset directory) levelsRunConfigto support loading defaults from.envfiles viaRunConfig.from_dotenv_files()_main.py) to useRunConfig.from_dotenv_files()with dotenv-aware sanitization handlingtests/unit/test_global_config.pycovering dotenv loading logic and priority orderinguse_session_labels,probe,silentfields inRunConfig/CLI)Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.