-
Notifications
You must be signed in to change notification settings - Fork 39
/
pyproject.toml
85 lines (76 loc) · 1.8 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
[build-system]
requires = ['setuptools']
build-backend = 'setuptools.build_meta'
[project]
name = 'beanprice'
version = '1.2.1'
description = 'Price quotes fetcher for Beancount'
license = { file = 'COPYING' }
readme = 'README.md'
authors = [
{ name = 'Martin Blais', email = '[email protected]' },
]
maintainers = [
{ name = 'Martin Blais', email = '[email protected]' },
]
keywords = [
'accounting', 'ledger', 'beancount', 'price'
]
classifiers = [
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7',
'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 :: SQL',
'Topic :: Office/Business :: Financial :: Accounting',
]
requires-python = '>= 3.8'
dependencies = [
'beancount >= 2.3.4',
'python-dateutil >= 2.6.0',
'requests >= 2.0',
]
[project.scripts]
bean-price = 'beanprice.price:main'
[project.urls]
homepage = 'https://github.com/beancount/beanprice'
issues = 'https://github.com/beancount/beanprice/issues'
[tool.setuptools.packages]
find = {}
[tool.coverage.run]
branch = true
[tool.coverage.report]
exclude_also = [
'if typing.TYPE_CHECKING:',
]
[tool.ruff]
line-length = 92
target-version = 'py38'
[tool.ruff.lint]
select = ['E', 'F', 'W', 'UP', 'B', 'C4', 'PL', 'RUF']
# TODO(blais): Review these ignores.
ignore = [
'RUF013',
'RUF005',
'PLW0603',
'UP014',
'UP031',
'B007',
'B905',
'C408',
'E731',
'PLR0911',
'PLR0912',
'PLR0913',
'PLR0915',
'PLR1714',
'PLR2004',
'PLW2901',
'RUF012',
'UP007',
'UP032',
]