Skip to content
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

Station: more useful YAML validation messages #2282

Merged
merged 3 commits into from
Oct 14, 2020

Conversation

astafan8
Copy link
Contributor

@astafan8 astafan8 commented Oct 14, 2020

because this https://github.com/Julian/jsonschema/blob/v3.2.0/jsonschema/exceptions.py#L73 is more useful than .message

and Dont add full config to station yaml validatior warning message those can be potentially very long.

@astafan8 astafan8 requested a review from jenshnielsen October 14, 2020 10:26
@codecov
Copy link

codecov bot commented Oct 14, 2020

Codecov Report

Merging #2282 into master will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2282      +/-   ##
==========================================
- Coverage   71.85%   71.85%   -0.01%     
==========================================
  Files         154      154              
  Lines       20655    20651       -4     
==========================================
- Hits        14842    14839       -3     
+ Misses       5813     5812       -1     

@jenshnielsen jenshnielsen merged commit dfe5cb9 into master Oct 14, 2020
@jenshnielsen jenshnielsen deleted the astafan8-station-yaml-validation-better-message branch October 14, 2020 11:36
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.

2 participants