-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
106 lines (92 loc) · 2.08 KB
/
pyproject.toml
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
[tool.poetry]
name = "hyperfocus"
version = "1.2.0"
description = "Minimalist daily task manager."
authors = ["u8slvn <u8slvn@gmail.com>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/u8slvn/hyperfocus"
homepage = "https://github.com/u8slvn/hyperfocus"
packages = [{ include = "hyperfocus", from = "src" }]
keywords = [
"cli",
"todo",
"todolist",
"todo-list",
"task-list",
"productivity",
]
include = [
"LICENSE",
"CHANGELOG.md",
"README.md",
]
[tool.poetry.urls]
"Changelog" = "https://github.com/u8slvn/hyperfocus/blob/main/CHANGELOG.md"
[tool.poetry.dependencies]
python = "^3.8"
peewee = "^3.17.0"
click = "^8.1.3"
pyperclip = "^1.8.2"
[tool.poetry.group.dev.dependencies]
pytest = "^7.1"
mypy = ">=0.961"
freezegun = "^1.2.1"
pre-commit = "^2.6"
pytest-mock = "^3.8"
pytest-cov = "^3.0.0"
tox = "^3.25.1"
[tool.poetry.scripts]
hyf = "hyperfocus.console.cli:run"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line_length = 88
[tool.ruff]
fix = true
line-length = 88
src = ["src"]
target-version = "py311"
[tool.ruff.lint]
select = [
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"RUF", # ruff checks
"TID", # flake8-tidy-imports
"SIM", # flake8-simplify
]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
[tool.ruff.lint.isort]
force-single-line = true
lines-between-types = 1
lines-after-imports = 2
required-imports = [
"from __future__ import annotations",
]
[tool.mypy]
files = "src/"
mypy_path = "src/"
namespace_packages = true
show_error_codes = true
ignore_missing_imports = true
strict = true
[[tool.mypy.overrides]]
module=["peewee", "pyperclip"]
warn_unused_ignores = false
ignore_missing_imports = true
[tool.pytest.ini_options]
markers = [
"functional: marks as functional tests (deselect with '-m \"not functional\"')",
]
testpaths = ["tests"]
addopts = [
"--cov=src/hyperfocus/",
"--import-mode=importlib",
]