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
import glob | |
import os | |
import re | |
from coverage.plugin import CoveragePlugin, FileTracer, FileReporter | |
class Tracer(FileTracer): | |
cache = dict() |
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
# Copyright (c) 2021 by Kristoffer Paulsson. <[email protected]> | |
"""The checker.py example is expected to fail with 2 exceptions one ValueError and one RuntimeWarning. | |
The RuntimeWarning should tell the last executed policy that was started.""" | |
from contextlib import ContextDecorator | |
from contextvars import ContextVar | |
check_ctx = ContextVar("check", default=None) |
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
from kivymd.app import MDApp | |
from kivy.lang import Builder | |
from kivy.metrics import dp | |
from kivy.properties import NumericProperty | |
from kivy.uix.floatlayout import FloatLayout | |
from kivy.uix.gridlayout import GridLayout | |
LIPSUM = """ | |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
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
from kivy.app import App | |
from kivy.clock import Clock | |
from kivy.properties import ( | |
ListProperty, DictProperty, StringProperty, BooleanProperty) | |
from kivymd.theming import ThemeManager | |
from kivy.lang import Builder | |
from kivymd.uix.dialog import MDDialog | |
from kivymd.uix.list import OneLineIconListItem, ILeftBodyTouch | |
from kivymd.uix.selectioncontrol import MDCheckbox |