-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support meta-data for suspicion reasons
* Represent suspicion reasons with a new Reason class that, in addition to the string identifier, supports a label and source/origin of the reason * Continue to store string identifiers in the Changeset.suspicion_reasons field for backward compatibility * Introduce a new Changeset.detailed_reasons field that has the full Reason objects * Use the Reason.source to track when suspicion reasons originated as warnings generated by an editor, such as iD * When printing suspicion reasons in the CLI, include the source of the reason if it was not from osmcha * Update unit tests
- Loading branch information
Showing
3 changed files
with
44 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters