Compare commits
No commits in common. "2c864fef59408fdc689b91bf9393b25e36ee7704" and "4080afb1b1c30859e349c53fe8d91f92e2a50b50" have entirely different histories.
2c864fef59
...
4080afb1b1
@ -1,7 +1,3 @@
|
||||
# kodi-timekeeper
|
||||
|
||||
An approach to having kids use a Kodi media center instance: manage session use and keep track of time spent and available budget.
|
||||
|
||||
## Valid Conventional Commits scopes
|
||||
|
||||
* `meta`: Affects the Git project's structure such as a `pyproject.toml` change or new directories
|
||||
An approach to having kids use a Kodi media center instance: manage session use and keep track of time spent and available budget.
|
@ -1,2 +1 @@
|
||||
Add rudimentary versioning mechanics
|
||||
Set up project defaults
|
||||
Add rudimentary versioning mechanics
|
@ -1,65 +1,23 @@
|
||||
[project]
|
||||
name = "kodi-timekeeper"
|
||||
description = "An approach to letting kids use a Kodi media center instance"
|
||||
version = "0.1.0"
|
||||
authors = [
|
||||
{ name = "hygienic-books", email = "hygienic-books@tentic.net" }
|
||||
]
|
||||
dependencies = [
|
||||
'requests == 2.27.1',
|
||||
'click == 8.1.0'
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"towncrier == 21.9.0",
|
||||
"semver == 2.13.0",
|
||||
"pytest == 7.1.2"
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = [
|
||||
"setuptools == 58.0.4",
|
||||
"wheel == 0.37.1"
|
||||
]
|
||||
requires = ["setuptools", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.semantic_release]
|
||||
version_toml = "pyproject.toml:project.version"
|
||||
version_toml = "src/kodi-timekeeper/__init__.py:__version__"
|
||||
major_on_zero = false
|
||||
|
||||
[tool.towncrier]
|
||||
directory = "newsfragments"
|
||||
package = "kodi-timekeeper"
|
||||
package_dir = "src"
|
||||
filename = "CHANGELOG.md"
|
||||
type = [
|
||||
{ name = "Features", directory = "feat", showcontent = true },
|
||||
{ name = "Bug fixes", directory = "fix", showcontent = true },
|
||||
{ name = "Project structure", directory = "build", showcontent = true },
|
||||
{ name = "Refactor", directory = "refactor", showcontent = true },
|
||||
{ name = "Test", directory = "test", showcontent = true }
|
||||
]
|
||||
|
||||
# New format is in the works, not yet part of towncrier 21.9.0
|
||||
# News topics from which we may want to choose:
|
||||
# [tool.towncrier.fragment.build]
|
||||
# [tool.towncrier.fragment.chore]
|
||||
# [tool.towncrier.fragment.ci]
|
||||
# [tool.towncrier.fragment.docs]
|
||||
# [tool.towncrier.fragment.feat]
|
||||
# [tool.towncrier.fragment.fix]
|
||||
# [tool.towncrier.fragment.perf]
|
||||
# [tool.towncrier.fragment.refactor]
|
||||
# [tool.towncrier.fragment.revert]
|
||||
# [tool.towncrier.fragment.style]
|
||||
# [tool.towncrier.fragment.test]
|
||||
# [tool.towncrier.fragment.deprecation]
|
||||
# [tool.towncrier.fragment.remove]
|
||||
# [tool.towncrier.fragment.trivial]
|
||||
# [tool.towncrier.fragment.meta]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
python_files = "test_*"
|
||||
python_classes = "*Tests"
|
||||
python_functions = "test_*"
|
||||
[tool.towncrier.fragment.build]
|
||||
[tool.towncrier.fragment.chore]
|
||||
[tool.towncrier.fragment.ci]
|
||||
[tool.towncrier.fragment.docs]
|
||||
[tool.towncrier.fragment.feat]
|
||||
[tool.towncrier.fragment.fix]
|
||||
[tool.towncrier.fragment.perf]
|
||||
[tool.towncrier.fragment.refactor]
|
||||
[tool.towncrier.fragment.revert]
|
||||
[tool.towncrier.fragment.style]
|
||||
[tool.towncrier.fragment.test]
|
4
pytest.ini
Normal file
4
pytest.ini
Normal file
@ -0,0 +1,4 @@
|
||||
[pytest]
|
||||
python_files = test_*
|
||||
python_classes = *Tests
|
||||
python_function = test_*
|
@ -0,0 +1 @@
|
||||
__version__ = "0.0.0"
|
@ -1,21 +1,3 @@
|
||||
class KTKTests:
|
||||
#def test_adding_two_ints_returns_correct_result(self):
|
||||
# assert alter(1, 2) == 3
|
||||
# pass
|
||||
|
||||
def test_one(self):
|
||||
assert 1 == 1
|
||||
|
||||
def test_two(self):
|
||||
expect = (1, 2, 3)
|
||||
actual = (1, 2, 3)
|
||||
|
||||
|
||||
def test_adsasd():
|
||||
expect = (1, 2, 3)
|
||||
actual = (1, 2, 3)
|
||||
|
||||
|
||||
def test_aasssd():
|
||||
expect = (1, 2, 3)
|
||||
actual = (1, 2, 3)
|
||||
def test_adding_two_ints_returns_correct_result(self):
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user