-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpyproject.toml
85 lines (78 loc) · 1.83 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
[project]
name = "fava-envelope"
version = "0.5.9"
description = ""
requires-python = ">=3.9"
readme = "README.md"
license = {text = "MIT"}
keywords = ["fava", "budget", "envelope"]
authors = [
{email = "[email protected]"},
{name = "Brian Ryall"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
dependencies = [
"fava>=1.26",
"pandas>=2.2.2",
"Click >= 7",
"beanquery>=0.1.0",
"beancount>=3.0.0",
]
[dependency-groups]
dev = [
{include-group = "test"},
{include-group = "typing"},
{include-group = "lint"},
]
typing = [
"pandas-stubs>=2.2.2",
"mypy>=1.13.0",
]
test = [
"pytest-cov>=6.0.0",
"pytest-django>=4.9.0",
"pytest>=8.3.3",
]
lint = [
"ruff>=0.7.2",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project.urls]
homepage = "https://github.com/polarmutex/fava-envelope"
documentation = "https://github.com/polarmutex/fava-envelope"
repository = "https://github.com/polarmutex/fava-envelope"
changelog = "https://github.com/polarmutex/fava-envelope/master/CHANGELOG.md"
[tool.black]
line-length = 79
[tool.ruff.lint]
select = [
"F", # flake8
"E", # pycodestyle
"W", # pycodestyle
# "C90", # McCabe cyclomatic complexity
"I", # isort
"N", # pep8-naming
# "D", # docstyle
"UP", # pyupgrade
# "PD", # pandas-vet
]
[tool.basedpyright]
# many settings are not enabled even in strict mode, which is why basedpyright includes an "all" option
# you can then decide which rules you want to disable
typeCheckingMode = "standard"
exclude = [
".venv",
".direnv",
]
useLibraryCodeForTypes = true
venvPath="."
venv=".venv"