-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (65 loc) · 1.76 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (65 loc) · 1.76 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
[build-system]
requires = ["hatchling >= 1.26"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/epmcminer"]
[project]
name = "epmcminer"
version = "1.0.0"
authors = [
{ name="Julian Präsent", email="julian.praesent@gmail.com" },
]
description = "desktop application for researchers that automates the retrieval of academic literature from the Europe PubMed Central (Europe PMC) API"
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
license = "MIT"
license-files = ["LICEN[CS]E*"]
dependencies = [
"PyQt6",
"requests",
"pandas",
"openpyxl",
"reportlab",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pytest-mock",
"pytest-recording", # VCR cassette recording for deterministic integration tests
"responses",
"ruff",
"mypy"
]
[project.scripts]
epmcminer = "epmcminer.main:main"
[project.urls]
Homepage = "https://github.com/Programming-The-Next-Step-2026/epmcminer"
Issues = "https://github.com/Programming-The-Next-Step-2026/epmcminer/issues"
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "C4", "UP", "SIM"]
ignore = [
"B008", # function calls in default args (used in dataclass fields)
"SIM108", # ternary vs if/else (readability preference)
]
[tool.mypy]
python_version = "3.11"
strict = false
ignore_missing_imports = true
disallow_untyped_defs = true
disallow_any_generics = true
warn_return_any = true
warn_unused_ignores = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--block-network"
markers = [
"integration: hits the real Europe PMC API (deselect with '-m \"not integration\"')",
]