| 1 |
[build-system] |
| 2 |
requires = ['setuptools'] |
| 3 |
build-backend = 'setuptools.build_meta' |
| 4 |
|
| 5 |
[project] |
| 6 |
name = 'beanprice' |
| 7 |
version = '2.0.0' |
| 8 |
description = 'Price quotes fetcher for Beancount' |
| 9 |
license = { file = 'COPYING' } |
| 10 |
readme = 'README.md' |
| 11 |
authors = [ |
| 12 |
{ name = 'Martin Blais', email = '[email protected]' }, |
| 13 |
] |
| 14 |
maintainers = [ |
| 15 |
{ name = 'Martin Blais', email = '[email protected]' }, |
| 16 |
] |
| 17 |
keywords = [ |
| 18 |
'accounting', 'ledger', 'beancount', 'price' |
| 19 |
] |
| 20 |
classifiers = [ |
| 21 |
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)', |
| 22 |
'Programming Language :: Python :: 3 :: Only', |
| 23 |
'Programming Language :: Python :: 3.9', |
| 24 |
'Programming Language :: Python :: 3.10', |
| 25 |
'Programming Language :: Python :: 3.11', |
| 26 |
'Programming Language :: Python :: 3.12', |
| 27 |
'Programming Language :: SQL', |
| 28 |
'Topic :: Office/Business :: Financial :: Accounting', |
| 29 |
] |
| 30 |
requires-python = '>= 3.9' |
| 31 |
dependencies = [ |
| 32 |
'beancount >= 3.0.0', |
| 33 |
'python-dateutil >= 2.6.0', |
| 34 |
'requests >= 2.0', |
| 35 |
] |
| 36 |
|
| 37 |
[project.scripts] |
| 38 |
bean-price = 'beanprice.price:main' |
| 39 |
|
| 40 |
[project.urls] |
| 41 |
homepage = 'https://github.com/beancount/beanprice' |
| 42 |
issues = 'https://github.com/beancount/beanprice/issues' |
| 43 |
|
| 44 |
[tool.setuptools.packages] |
| 45 |
find = {} |
| 46 |
|
| 47 |
[tool.coverage.run] |
| 48 |
branch = true |
| 49 |
|
| 50 |
[tool.coverage.report] |
| 51 |
exclude_also = [ |
| 52 |
'if typing.TYPE_CHECKING:', |
| 53 |
] |
| 54 |
|
| 55 |
[tool.ruff] |
| 56 |
line-length = 92 |
| 57 |
target-version = 'py39' |
| 58 |
|
| 59 |
[tool.ruff.lint] |
| 60 |
select = ['E', 'F', 'W', 'UP', 'B', 'C4', 'PL', 'RUF'] |
| 61 |
|
| 62 |
|
| 63 |
ignore = [ |
| 64 |
'RUF013', |
| 65 |
'RUF005', |
| 66 |
'PLW0603', |
| 67 |
'UP014', |
| 68 |
'UP031', |
| 69 |
'B007', |
| 70 |
'B905', |
| 71 |
'C408', |
| 72 |
'E731', |
| 73 |
'PLR0911', |
| 74 |
'PLR0912', |
| 75 |
'PLR0913', |
| 76 |
'PLR0915', |
| 77 |
'PLR1714', |
| 78 |
'PLR2004', |
| 79 |
'PLW2901', |
| 80 |
'RUF012', |
| 81 |
'UP007', |
| 82 |
'UP032', |
| 83 |
] |
| 84 |
|
| 85 |
[tool.mypy] |
| 86 |
disable_error_code = ["import-untyped"] |