-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
92 lines (83 loc) · 1.71 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
[build-system]
requires = ["maturin>=1.0,<2.0", "polars>=1.5.0"]
build-backend = "maturin"
[project]
name = "polars-xdt"
description = "eXtra stuff for Dates and Times in Polars"
readme = "README.md"
authors = [
{ name="Marco Gorelli", email="[email protected]" },
]
license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
requires-python = ">=3.8"
[project.urls]
"Repository" = "https://github.com/MarcoGorelli/polars-xdt"
"Documentation" = "https://marcogorelli.github.io/polars-xdt-docs/"
"Change Log" = "https://github.com/MarcoGorelli/polars-xdt/releases"
"Issue Tracker" = "https://github.com/MarcoGorelli/polars-xdt/issues"
[tool.maturin]
module-name = "polars_xdt._internal"
[tool.ruff.format]
docstring-code-format = true
[tool.ruff]
lint.select = [
"ALL",
]
lint.ignore = [
'A003',
'ANN101',
'ANN401',
'ARG002', # todo: enable
'ARG003', # todo: enable
'C901',
'COM812',
'D100',
'D103',
'D104',
'D105',
'D107',
'D203',
'D212',
'DTZ',
'E501',
'FBT003', # todo: enable
'FIX',
'ISC001',
'PD',
'PLR0911',
'PLR0912',
'PLR5501',
'PLR2004',
'PT011',
'PTH',
'RET505',
'S',
'SLF001',
'TD',
'TRY004'
]
# Allow autofix for all enabled rules (when `--fix`) is provided.
lint.fixable = ["ALL"]
# Exclude a variety of commonly ignored directories.
exclude = [
"tests",
".git",
".git-rewrite",
".mypy_cache",
".ruff_cache",
"venv",
".ipynb",
"venv",
]
line-length = 80
[[tool.mypy.overrides]]
module = [
"pandas",
"dateutil.*",
]
ignore_missing_imports = true