question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve metadata specification introducded in PR #1583

See original GitHub issue

In #1583 you (@felipesanches ) introduced new metadata arguments to fontbakery.callable.FontBakeryCheck. We need better specifications of the expected data types and use cases. Inline comments are in general fine, BUT the other arguments are already described in the docstring of the Class.

Please move the specs and flesh out:

  • Move the description comments into the docstring of FontBakeryCheck.
  • rationale what is the difference to documentation how should each be used (this would be sth. I’d just put into documentation)
  • affects please add an example, maybe define commonly needed words, so that we don’t end up with Windows, windows and win meaning the same thing or describe how to derive a key here.
  • affects specify the format of the affected versions range or mark it explicitly as a TODO.
  • affects Make it a tuple of tuples, we don’t want to change it, a tuple makes this semantically more clear.
  • affects In the first test that uses the spec: ('Windows', 'unspecified') The second value should be None if unknown (see above: specify affected versions range.)
  • example_failures how is this formatted and expected to be used, I can’t deduce from the current description. Why can’t this be in rationale or documentation? Maybe mark it explicitly as a TODO.
  • In the first test that uses the spec, remove the line , example_failures = None. It’s optional and shouldn’t be used explicitly if it has no value.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:21 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
felipesanchescommented, Dec 13, 2017

it seems we’re suggesting the same thing 😄

1reaction
graphicorecommented, Dec 13, 2017

LOL

Read more comments on GitHub >

github_iconTop Results From Across the Web

Metadata Matters: Connecting People and Information
Metadata provides a means of indexing, accessing, preserving, and discovering digital resources. The volume of digital information available over electronic ...
Read more >
[PDF] Practical Application of the Dublin Core Standard for ...
The effort has demonstrated the importance of consistent application of both granular and general metadata for information capture and revealed ...
Read more >
CMDB Federation Specification (DSP 0252) - DMTF
DSP0252. Configuration Management Database (CMDB) Federation Specification. Version 1.0.1. DMTF Standard. 7. Introduction.
Read more >
Approaches for the Clustering of Geographic Metadata and ... - MDPI
Here, we have established as baseline a collection of metadata records with manually tagged quasi-spatial dataset series. Then, we have performed experiments ...
Read more >
Understanding Metadata
A metadata scheme becoming well established in the social and behavioral sciences is the Data. Documentation Initiative (DDI) standard for describing social.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found