Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (75 loc) · 2 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (75 loc) · 2 KB
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
[build-system]
requires = ['setuptools >= 77.0.3']
build-backend = 'setuptools.build_meta'
[project]
name = 'beangulp'
version = '0.3.0.dev0'
license = 'GPL-2.0-only'
license-files = ['LICENSE']
description = 'Importers Framework for Beancount'
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', 'importer', 'import', 'converter', 'conversion']
classifiers = [
'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',
'Topic :: Office/Business :: Financial :: Accounting',
'Topic :: Text Processing :: General',
]
requires-python = '>=3.7'
dependencies = [
'beancount >=2.3.5',
'beautifulsoup4',
'chardet',
'click >8.0',
'deprecation >=2.1.0', # Python 3.13 provides warnings.deprecated().
'lxml',
'python-magic >=0.4.12; sys_platform != "win32"',
]
[project.optional-dependencies]
petl = [
'petl',
]
[project.urls]
homepage = 'https://github.com/beancount/beangulp'
issues = 'https://github.com/beancount/beangulp/issues'
[dependency-groups]
test = [
'pytest',
]
[tool.setuptools.packages.find]
include = ['beangulp*']
[tool.ruff]
line-length = 92 # Same as Beancount's.
lint.select = ['E', 'F', 'W', 'UP', 'B', 'C4', 'PL', 'RUF']
lint.ignore = [
'B007',
'B020',
'E501',
'E731',
'PLR0911',
'PLR0912',
'PLR0913',
'PLR0915',
'PLR2004',
'PLW2901',
'RUF012',
'UP015',
'UP032',
]
[tool.pytest.ini_options]
minversion = '6.0'
addopts = ['--doctest-glob=*.rst']
doctest_optionflags = ['ELLIPSIS', 'NORMALIZE_WHITESPACE']
testpaths = ['beangulp']