This PR adds a more descriptive error message when users add a detector without configuration. Before this change a NoMethodError exception was raised with an unclear error message. Now we catch this exception and provide a more helpful error message.
This PR adds a more descriptive error message when users add a detector without configuration. Before this change a NoMethodError exception was raised with an unclear error message. Now we catch this exception and provide a more helpful error message.
A better future option might be add dry-schema. The current yaml schema validator is outdated and does not seem to have good documentation.
See: https://github.com/troessner/reek/issues/1734