Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (73 loc) · 2.05 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (73 loc) · 2.05 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
[project]
name = "processCASpdf"
version = "0.3.2"
description = "Extract data from CAMS Mutual Fund PDF statements"
readme = "README.md"
requires-python = ">=3.9"
license = "MIT"
authors = [{ name = "Neeraj Tikku", email = "neeraj.tikku@gmail.com" }]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business :: Financial",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"pdfplumber>=0.7.0",
"pandas>=1.3.0",
"requests>=2.25.0",
]
[project.urls]
Homepage = "https://github.com/ukkit/processCASpdf"
Repository = "https://github.com/ukkit/processCASpdf"
Issues = "https://github.com/ukkit/processCASpdf/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"ruff>=0.9.0",
"mypy>=1.14.0",
"pandas-stubs>=2.0.0",
"types-requests>=2.31.0",
"pre-commit>=4.0.0",
]
[tool.ruff]
target-version = "py39"
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort (import sorting)
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"S", # flake8-bandit (security)
"A", # flake8-builtins
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"RUF", # ruff-specific rules
]
ignore = [
"E501", # line too long (handled by formatter)
"S101", # assert usage (fine in non-production code)
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
check_untyped_defs = true