changenote 0.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: changenote
|
|
3
|
+
Version: 0.0.0
|
|
4
|
+
Summary:
|
|
5
|
+
Author: narumi
|
|
6
|
+
Author-email: narumi <toucans-cutouts0f@icloud.com>
|
|
7
|
+
Requires-Dist: typer>=0.27.1
|
|
8
|
+
Requires-Python: >=3.10
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
|
|
11
|
+
# python-template
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# python-template
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "changenote"
|
|
3
|
+
version = "0.0.0"
|
|
4
|
+
description = ""
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.10"
|
|
7
|
+
dependencies = ["typer>=0.27.1"]
|
|
8
|
+
|
|
9
|
+
[[project.authors]]
|
|
10
|
+
name = "narumi"
|
|
11
|
+
email = "toucans-cutouts0f@icloud.com"
|
|
12
|
+
|
|
13
|
+
[project.scripts]
|
|
14
|
+
changenote = "changenote.cli:app"
|
|
15
|
+
|
|
16
|
+
[dependency-groups]
|
|
17
|
+
dev = [
|
|
18
|
+
"pytest>=9.1.1",
|
|
19
|
+
"pytest-cov>=7.1.0",
|
|
20
|
+
"ruff>=0.16.2",
|
|
21
|
+
"ty>=0.0.71",
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
[build-system]
|
|
25
|
+
requires = ["uv_build>=0.8.17,<0.13.0"]
|
|
26
|
+
build-backend = "uv_build"
|
|
27
|
+
|
|
28
|
+
[tool.bumpversion]
|
|
29
|
+
current_version = "0.0.0"
|
|
30
|
+
tag = true
|
|
31
|
+
commit = true
|
|
32
|
+
pre_commit_hooks = [
|
|
33
|
+
"uv lock",
|
|
34
|
+
"git add uv.lock",
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
[tool.pytest]
|
|
38
|
+
filterwarnings = ["ignore::DeprecationWarning"]
|
|
39
|
+
|
|
40
|
+
[tool.ruff]
|
|
41
|
+
line-length = 120
|
|
42
|
+
|
|
43
|
+
[tool.ruff.lint]
|
|
44
|
+
select = [
|
|
45
|
+
"ANN",
|
|
46
|
+
"ASYNC",
|
|
47
|
+
"B",
|
|
48
|
+
"BLE",
|
|
49
|
+
"C",
|
|
50
|
+
"DTZ",
|
|
51
|
+
"E",
|
|
52
|
+
"F",
|
|
53
|
+
"FURB",
|
|
54
|
+
"I",
|
|
55
|
+
"G",
|
|
56
|
+
"N",
|
|
57
|
+
"PERF",
|
|
58
|
+
"PIE",
|
|
59
|
+
"PTH",
|
|
60
|
+
"RET",
|
|
61
|
+
"RSE",
|
|
62
|
+
"RUF",
|
|
63
|
+
"SIM",
|
|
64
|
+
"TID",
|
|
65
|
+
"TRY002",
|
|
66
|
+
"TRY004",
|
|
67
|
+
"TRY203",
|
|
68
|
+
"TRY300",
|
|
69
|
+
"UP",
|
|
70
|
+
"W",
|
|
71
|
+
]
|
|
72
|
+
|
|
73
|
+
[tool.ruff.lint.per-file-ignores]
|
|
74
|
+
"tests/**.py" = [
|
|
75
|
+
"ANN",
|
|
76
|
+
"TRY",
|
|
77
|
+
"PERF",
|
|
78
|
+
]
|
|
79
|
+
|
|
80
|
+
[tool.ruff.lint.isort]
|
|
81
|
+
force-single-line = true
|
|
82
|
+
|
|
83
|
+
[tool.tombi.files]
|
|
84
|
+
exclude = ["uv.lock"]
|
|
85
|
+
|
|
86
|
+
[tool.tombi.format.rules]
|
|
87
|
+
key-value-equals-sign-alignment = true
|
|
88
|
+
trailing-comment-alignment = true
|
|
89
|
+
|
|
90
|
+
[tool.ty.rules]
|
|
91
|
+
unresolved-import = "ignore"
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "changenote"
|
|
3
|
+
version = "0.0.0"
|
|
4
|
+
description = ""
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.10"
|
|
7
|
+
authors = [{ name = "narumi", email = "toucans-cutouts0f@icloud.com" }]
|
|
8
|
+
dependencies = [
|
|
9
|
+
"typer>=0.27.1",
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
[project.scripts]
|
|
13
|
+
changenote = "changenote.cli:app"
|
|
14
|
+
|
|
15
|
+
[dependency-groups]
|
|
16
|
+
dev = [
|
|
17
|
+
"pytest>=9.1.1",
|
|
18
|
+
"pytest-cov>=7.1.0",
|
|
19
|
+
"ruff>=0.16.2",
|
|
20
|
+
"ty>=0.0.71",
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
[build-system]
|
|
24
|
+
requires = ["uv_build>=0.8.17,<0.13.0"]
|
|
25
|
+
build-backend = "uv_build"
|
|
26
|
+
|
|
27
|
+
[tool.bumpversion]
|
|
28
|
+
current_version = "0.0.0"
|
|
29
|
+
tag = true
|
|
30
|
+
commit = true
|
|
31
|
+
pre_commit_hooks = ["uv lock", "git add uv.lock"]
|
|
32
|
+
|
|
33
|
+
[tool.pytest]
|
|
34
|
+
filterwarnings = ["ignore::DeprecationWarning"]
|
|
35
|
+
|
|
36
|
+
[tool.ruff]
|
|
37
|
+
line-length = 120
|
|
38
|
+
|
|
39
|
+
[tool.ruff.lint]
|
|
40
|
+
select = [
|
|
41
|
+
"ANN", # flake8-annotations
|
|
42
|
+
"ASYNC", # flake8-async
|
|
43
|
+
"B", # flake8-bugbear
|
|
44
|
+
"BLE", # flake8-blind-except
|
|
45
|
+
"C", # flake8-comprehensions
|
|
46
|
+
"DTZ", # flake8-datetimez
|
|
47
|
+
"E", # pycodestyle errors
|
|
48
|
+
"F", # pyflakes
|
|
49
|
+
"FURB", # refurb
|
|
50
|
+
"I", # isort
|
|
51
|
+
"G", # flake8-logging-format
|
|
52
|
+
"N", # pep8-naming
|
|
53
|
+
"PERF", # perflint
|
|
54
|
+
"PIE", # flake8-pie
|
|
55
|
+
"PTH", # flake8-use-pathlib
|
|
56
|
+
"RET", # flake8-return
|
|
57
|
+
"RSE", # flake8-raise
|
|
58
|
+
"RUF", # ruff-specific rules
|
|
59
|
+
"SIM", # flake8-simplify
|
|
60
|
+
"TID", # flake8-tidy-imports
|
|
61
|
+
"TRY002", # raise-vanilla-class
|
|
62
|
+
"TRY004", # type-check-without-type-error
|
|
63
|
+
"TRY203", # useless-try-except
|
|
64
|
+
"TRY300", # try-consider-else
|
|
65
|
+
"UP", # pyupgrade
|
|
66
|
+
"W", # pycodestyle warnings
|
|
67
|
+
]
|
|
68
|
+
|
|
69
|
+
[tool.ruff.lint.per-file-ignores]
|
|
70
|
+
"tests/**.py" = ["ANN", "TRY", "PERF"]
|
|
71
|
+
|
|
72
|
+
[tool.ruff.lint.isort]
|
|
73
|
+
force-single-line = true
|
|
74
|
+
|
|
75
|
+
[tool.tombi.files]
|
|
76
|
+
exclude = ["uv.lock"]
|
|
77
|
+
|
|
78
|
+
[tool.tombi.format.rules]
|
|
79
|
+
key-value-equals-sign-alignment = true
|
|
80
|
+
trailing-comment-alignment = true
|
|
81
|
+
|
|
82
|
+
[tool.ty.rules]
|
|
83
|
+
unresolved-import = "ignore"
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import logging
|
|
2
|
+
|
|
3
|
+
import typer
|
|
4
|
+
|
|
5
|
+
logger = logging.getLogger(__name__)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
app = typer.Typer()
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@app.command()
|
|
12
|
+
def main() -> None:
|
|
13
|
+
format_str = "%(asctime)s | %(levelname)s | %(name)s:%(lineno)d - %(message)s"
|
|
14
|
+
logging.basicConfig(format=format_str, level=logging.INFO)
|
|
15
|
+
logger.info("Hello, world!")
|
|
File without changes
|