-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
82 lines (69 loc) · 1.6 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "khalorg"
authors = [ {name = "BartSte"} ]
description = "An interface between Org mode and Khal cli calendar."
readme = "README.md"
requires-python = ">=3.10"
keywords = ["khal", "org mode", "vdirsyncer", "CalDav", "agenda", "emacs", "neovim", "orgmode-nvim"]
license = {text = "MIT License"}
classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
"khal>=0.11",
"vdirsyncer",
"orgparse"
]
version = "0.0.3"
[project.optional-dependencies]
debug = ["ipdb", "ipython"]
test = ["pytest"]
build = ["build", "twine"]
[project.scripts]
khalorg = "khalorg:main"
[tool.setuptools.packages.find]
where = ["src"] # list of folders that contain the packages (["."] by default)
include = ["khalorg"] # package names should match these glob patterns (["*"] by default)
[tool.pyright]
include = ["khalorg", "tests"]
exclude = [
"**/__pycache__",
".git",
".pytest_cache",
"extras",
]
ignore = []
defineConstant = {}
stubPath = "stubs"
venvPath = ".venv"
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.10"
pythonPlatform = "Linux"
executionEnvironments = []
[tool.ruff]
line-length = 79
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"N", # PEP8 naming
]
[tool.autopep8]
max_line_length = 79
aggressive = 3
experimental = true
[tool.pytest.ini_options]
addopts = "-s -rA --log-level INFO"
pythonpath = [
"src"
]
testpaths = [
"tests"
]
[tool.ipdb]
context = 9