-
Notifications
You must be signed in to change notification settings - Fork 8
/
adafruit_testrepo.py
59 lines (39 loc) · 1.2 KB
/
adafruit_testrepo.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# SPDX-FileCopyrightText: 2019 Kattni Rembor for Adafruit Industries
#
# SPDX-License-Identifier: MIT
"""
`adafruit_testrepo`
================================================================================
This repo exists solely for test purposes!
* Author(s): Kattni Rembor
Implementation Notes
--------------------
**Hardware:**
**Software and Dependencies:**
* Adafruit CircuitPython firmware for the supported boards:
https://github.com/adafruit/circuitpython/releases
note::
PyPI will reject a release if no source code has changed.
Please increment this counter if needed: 5
"""
__version__ = "0.0.0-auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TestRepo.git"
class Test:
"""Test class."""
def __init__(self):
self._test_value = "Untested"
@staticmethod
def test():
"""Test function."""
while True:
pass
def test_method(self):
"""Test method."""
return "Test value {}".format(self._test_value)
@property
def test_property(self):
"""Test property"""
return self._test_value
@test_property.setter
def test_property(self, value):
self._test_value = value