Skip to content

Conversation

@aijadugar
Copy link

what this PR do?

finds the file path,
if not found then prints warning.

tested with test_application.py file

clean-up code with better logic.

Fixes #14987

@Carreau Carreau changed the title adding chk if file not found and cleanups (#14987) Adding check if file not found and cleanups (#14987) Oct 30, 2025
@Carreau Carreau force-pushed the fix/print-warning-if-config-not-opened branch from 014f579 to c1a66c7 Compare December 3, 2025 17:44
@Carreau
Copy link
Member

Carreau commented Dec 3, 2025

If anything I think the logic should go up in traitlets; and we should carefully think about the warnings; I think it's ok to not have any config file, but warn if one if unreadable. I need to have a bit more time to wrap my head arround this code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can IPython print a warning if unable to open ipython_config.py?

2 participants