-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
119 lines (105 loc) · 2.05 KB
/
Copy pathpyproject.toml
File metadata and controls
119 lines (105 loc) · 2.05 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[build-system]
requires = ["setuptools>=61.2", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pyzet"
version = "0.14.0"
description = "Simple note-taking with CLI & Git integration."
authors = [{name = "Tomasz Wojdat", email = "tpwojdat@gmail.com"}]
license = "Apache-2.0"
license-files = ["LICENSE"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
]
keywords = ["cli", "git", "markdown", "notes", "zettelkasten"]
urls = {Homepage = "https://github.com/tpwo/pyzet"}
requires-python = ">=3.10"
dependencies = [
"argcomplete>=3.0",
"pyyaml>=6.0",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.scripts]
pyzet = "pyzet.main:main"
[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = false
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
[tool.coverage.run]
plugins = ["covdefaults"]
[tool.coverage.report]
fail_under = 1
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = "testing.*"
disallow_untyped_defs = false
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
[tool.ruff]
line-length = 79
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
extend-select = [
"I",
"E",
"F",
"W",
"UP",
"B",
"SIM",
"PT",
"D",
"N",
"FBT",
"A",
"C4",
"DTZ",
"ISC",
"LOG",
"INP",
"PIE",
"RSE",
"SLF",
"SLOT",
"TID",
"TCH",
"ARG",
"TD",
"ERA",
"PGH",
# "TRY",
"FLY",
"FURB",
"RUF",
]
ignore = [
"D100",
"D103",
"D104",
"D107",
"D203",
"D213",
"E501",
"ISC001",
"LOG015",
"RUF001",
"TD002",
]
[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
force-single-line = true