-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
92 lines (82 loc) · 2.02 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 = ['setuptools']
build-backend = 'setuptools.build_meta'
[project]
name = 'beanquery'
version = '0.2.0.dev0'
description = 'Customizable lightweight SQL query tool'
license = { file = 'LICENSE' }
readme = 'README.rst'
authors = [
{ name = 'Martin Blais', email = 'blais@furius.ca' },
{ name = 'Daniele Nicolodi', email = 'daniele@grinta.net' },
]
maintainers = [
{ name = 'Daniele Nicolodi', email = 'daniele@grinta.net' },
]
keywords = [
'accounting', 'ledger', 'beancount', 'SQL', 'BQL'
]
classifiers = [
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: SQL',
'Topic :: Office/Business :: Financial :: Accounting',
]
requires-python = '>= 3.8'
dependencies = [
'beancount >= 2.3.4',
'click > 7.0',
'python-dateutil >= 2.6.0',
'tatsu >= 5.7.4, < 5.8.0',
]
[project.optional-dependencies]
docs = [
'furo >= 2024.08.06',
'sphinx ~= 8.1.0',
]
[project.scripts]
bean-query = 'beanquery.shell:main'
[project.urls]
homepage = 'https://github.com/beancount/beanquery'
issues = 'https://github.com/beancount/beanquery/issues'
[tool.setuptools.packages]
find = {}
[tool.coverage.run]
branch = true
[tool.coverage.report]
exclude_also = [
'if typing.TYPE_CHECKING:',
]
[tool.ruff]
line-length = 128
target-version = 'py38'
[tool.ruff.lint]
select = ['E', 'F', 'W', 'UP', 'B', 'C4', 'PL', 'RUF']
ignore = [
'B007',
'B905',
'C408',
'E731',
'PLR0911',
'PLR0912',
'PLR0913',
'PLR0915',
'PLR1714',
'PLR2004',
'PLW2901',
'RUF012',
'UP007',
'UP032',
]
exclude = [
'beanquery/parser/parser.py'
]
[tool.ruff.lint.per-file-ignores]
'beanquery/query_env.py' = ['F811']