-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathpyproject.toml
93 lines (80 loc) · 2.04 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
[project]
authors = [
{name = "Isaac Harris-Holt", email = "[email protected]"},
]
license = {text = "GPL-3.0-or-later"}
requires-python = ">=3.9,<3.13"
dependencies = [
"pydantic>=1.10.2,<2.11.0",
"python-dateutil>=2.8.2,<3.0.0",
]
name = "quiffen"
version = "2.0.13"
description = "Quiffen"
readme = "README.rst"
keywords = [
"qif",
"finance",
"data processing",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
]
[project.urls]
homepage = "https://github.com/isaacharrisholt/quiffen"
repository = "https://github.com/isaacharrisholt/quiffen"
documentation = "https://quiffen.readthedocs.io/en/latest/"
[project.optional-dependencies]
pandas = [
"pandas>2.2.0,<3.0.0",
]
[dependency-groups]
dev = [
"pytest<8.0.0,>=7.2.0",
"ruff>=0.0.254,<1.0.0",
"tox<5.0.0,>=4.4.6",
"pyright<2.0.0,>=1.1.296",
"pre-commit<4.0.0,>=3.1.1",
"tox-uv>=1.17.0",
"pandas-stubs>=2.2.2.240807",
"mypy>=1.14.1",
"types-python-dateutil>=2.9.0.20241206",
]
[tool.pdm.build]
includes = []
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.ruff]
line-length = 88
target-version = "py39"
[tool.ruff.lint]
# see https://docs.astral.sh/ruff/configuration/#using-pyprojecttoml
select = [
# default Ruff checkers: E4, E7, E9, F
"E4",
"E7",
"E9",
# "F" contains autoflake, see https://github.com/astral-sh/ruff/issues/1647
"F", # pyflakes
"I", # isort
# TODO: add more rules. For example:
# "B", # flake8-bugbear
# "C4", # flake8-comprehensions
# "EXE", # flake8-executable
# "ICN", # flake8-import-conventions
# "ISC", # flake8-implicit-str-concat
# "PL", # pylint
# "RUF",
# "UP", # pyupgrade
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"] # Ignore unused imports in __init__.py
[tool.pyright]
pythonVersion = "3.9"
[tool.pytest.ini_options]
testpaths = ["tests"]