-
Notifications
You must be signed in to change notification settings - Fork 64
/
pyproject.toml
81 lines (68 loc) · 1.77 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
[tool.poetry]
name = "casparser"
version = "0" # Fetched from casparser.__init__
description = "(Karvy/Kfintech/CAMS) Consolidated Account Statement (CAS) PDF parser"
authors = ["Sandeep Somasekharan <codereverser@gmail.com>"]
homepage = "https://github.com/codereverser/casparser"
license = "MIT License"
readme= "README.md"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent"
]
include = [ "CHANGELOG.md" ]
[tool.poetry.dependencies]
python = "^3.10"
casparser-isin = ">=2024.5.12"
click = ">=7.0,<9.0"
colorama = "^0.4.6"
"pdfminer.six" = "20240706"
python-dateutil = "^2.8.2"
rich = "^13.5.2"
pydantic = "^2.3.0"
PyMuPDF = {version = "~1.24.0", optional = true}
[tool.poetry.extras]
mupdf = ["PyMuPDF"]
fast = ["PyMuPDF"]
[tool.poetry.dev-dependencies]
coverage = {version = "^7.6", extras=["toml"]}
ipython = "^8.31.0"
pytest = "~8.3.0"
pytest-cov = "~6.0.0"
pre-commit = "^4.0.0"
[tool.poetry.scripts]
casparser = 'casparser.cli:cli'
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "--cov=casparser --cov-report=xml --cov-report=html --exitfirst"
testpaths = [
"tests",
]
[tool.coverage.report]
omit = [
"casparser/cli.py"
]
precision = 3
[tool.coverage.run]
omit = [
"casparser/cli.py"
]
[tool.poetry-version-plugin]
source = "init"
[tool.ruff]
line-length = 100
target-version = "py38"
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"