Replies: 4 comments 1 reply
-
@felipesanches or @graphicore I am sure you guys have a nice solution for that, but I simply overlooked it. |
Beta Was this translation helpful? Give feedback.
-
Since you are calling Something like this (did not test): profile.auto_register(globals(), filter_func=lambda type, id: not (type == 'check' and id in CHECKS_DONT_DO)); However, I'm not sure why |
Beta Was this translation helpful? Give feedback.
-
I just tried out both versions, both work so far, but the profile.auto_register(globals(), filter_func=lambda type, id, _: not (type == 'check' and id in CHECKS_DONT_DO)) otherwise you get an Error:
Which is the expected behavior when in profile.test_expected_checks(FONTWERK_PROFILE_CHECKS, exclusive=True) the I would thus suggest to construct the list like so: FONTWERK_PROFILE_CHECKS = \
[check for check in GOOGLEFONTS_PROFILE_CHECKS
if check not in CHECKS_DONT_DO] + [
'com.fontwerk/check/no_mac_entries',
'com.fontwerk/check/vendor_id',
'com.fontwerk/check/weight_class_fvar',
] or not to run |
Beta Was this translation helpful? Give feedback.
-
@moontypespace In ollimeier/fontbakery@594e79c you don't apply the |
Beta Was this translation helpful? Give feedback.
-
Hi all,
may someone hep me with my dummy question? How do I exclude/remove a test?
I would love to extend Fontwerk's profile and make use of most of the googlefonts checks, but not all of some. I would like to remove a view.
This is what I currently try to do:
https://github.com/moontypespace/fontbakery/blob/0c9bfe877917654c85e786b09c9da26080045be2/Lib/fontbakery/profiles/fontwerk.py#L74
But it does not work for me.
any help is much appreciated.
Thanks a lot in advance,
Olli
Beta Was this translation helpful? Give feedback.
All reactions