-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (70 loc) · 1.75 KB
/
pyproject.toml
File metadata and controls
84 lines (70 loc) · 1.75 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "khalorg"
dynamic = ["version"]
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 = "MIT"
license-files = ["LICENSE", "THIRDPARTYLICENSES"]
classifiers = ["Programming Language :: Python :: 3"]
dependencies = [
"icalendar<6.0", # khal is not compatible with icalendar >= 6.0 at the moment of writing
"khal~=0.11",
"orgparse~=0.4",
"vdirsyncer~=0.20",
]
[dependency-groups]
dev = ["pytest", "pre-commit"]
[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.setuptools_scm]
tag_regex = '^v(?P<version>\d+\.\d+\.\d+(?:[ab]\d+)?)$'
[tool.pyright]
include = ["src/khalorg", "tests"]
exclude = ["**/__pycache__", ".git", ".pytest_cache", "extras"]
ignore = []
defineConstant = {}
venvPath = ".venv"
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.10"
pythonPlatform = "Linux"
executionEnvironments = []
[tool.ruff]
line-length = 80
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"N", # PEP8 naming
]
[tool.autopep8]
max_line_length = 80
aggressive = 3
experimental = true
[tool.pytest.ini_options]
addopts = "-s -rA --log-level INFO"
pythonpath = ["src"]
testpaths = ["tests"]
[tool.ipdb]
context = 9