-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
72 lines (56 loc) · 1.89 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
#[tool.poetry]
#authors = ["Nikhil Bhirud <[email protected]>"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[project]
name = "pyconcaldates"
description = "Extract dates from contacts and add them to calendar"
# authors = ["Nikhil Bhirud <[email protected]>"]
authors = [
{name = "Nikhil Bhirud", email = "[email protected]"},
]
license = "GNU GENERAL PUBLIC LICENSE Version 3"
version = "0.1.0"
readme = "README.md"
# Support Python 3.13+.
requires-python = ">=3.12"
dependencies = [
"pandas>=2.2.3",
"duckdb>=1.1.3",
"mypy>=1.14.1",
"ruff>=0.9.3",
]
[tool.ruff]
# Set the maximum line length. Default value: 88
line-length = 88
exclude = [".venv", "venv", ".git", ".mypy_cache", ".pytype", ".ruff_cache", "__pypackages__"]
fix = true
# Enumerate all fixed violations.
show-fixes = true
# Whether to automatically exclude files that are ignored by .ignore, .gitignore, .git/info/exclude, and global gitignore files. Default true
respect-gitignore = false
[tool.ruff.lint]
# A list of rule codes or prefixes to consider fixable. By default, all rules are considered fixable.
fixable = ["ALL"]
[tool.ruff.lint.isort]
case-sensitive = true
force-wrap-aliases = true
combine-as-imports = true
[tool.ruff.lint.pycodestyle]
max-line-length = 100
[tool.ruff.lint.pydocstyle]
# "google" | "numpy" | "pep257"
convention = "pep257"
[tool.ruff.format]
# Enable reformatting of code snippets in docstrings.
docstring-code-format = true
indent-style = "space"
# Use `\n` line endings for all files. Line endings will be converted to \n. The default line ending on Unix.
line-ending = "lf"
# Whether to enable the unstable preview style formatting.
preview = true
[tool.ruff.analyze]
detect-string-imports = true
# When preview mode is enabled, Ruff will expose unstable commands.
preview = true