-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling when a user does not answer one of the questions #189
Conversation
Hi @yaleman, thank you for the PR! I would propose that instead, we do two things:
|
That'd work as well 😄 Apologies for the epic reformat, my defaults in VS code are a little different, can clean that up when I go back to make changes. We don't even have to check for The catch-nothing exception sounds sensible, if I should create a new one please suggest a name, or one that will be handled (because the |
81274d2
to
14d02a2
Compare
14d02a2
to
858a050
Compare
Cleaned up the commit and made the handling a little cleaner (turns out, vs-code has a "save without formatting option"). |
…les. Improve the error message generated when a file that does not end in csv, yml, or mlmodel has been changed in the lookups directory.
ensure that each row has at least one row, so that fields/headings can be extracted, and that each row has the proper number of fields in it. Report verbose errors for each row if there is an issue.
lookups directory
Removing usage_searches.conf
Remove extra field
Fix mlmodel changes bug
allowed in the lookups folder. A new function is introduced that improves checking on what file extensions are allowed in any folder which should supercede most usage of the Utils.get_all_yml_files_from_directory function in the future.
Parse and validate CSV files
I am still waiting on some feedback on the Issue I created in the questionary repo: #189 I have decided we will merge this in, as your updated changes handle both cases I have updated this to go into v4.2 which we expect to release soon rather than directly into |
If you ran
contentctl new
and hit ctrl-c it'd end up throwing a slightly confusing error: