-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
81 lines (69 loc) · 1.75 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 = "MyTarids_ROCrate"
version = "0.1.0"
description = "Scripts to pack data files into an RO-crate for MyTardis ingestion"
authors = ["James Love <[email protected]>", "Chris Seal <[email protected]>"]
readme = "README.md"
packages = [{include = "src"}]
[tool.poetry.dependencies]
python = ">=3.10,<=3.12.5"
python-slugify = "^8.0.1"
pylint = "^3.1.0"
mypy = "^1.8.0"
slugify = "^0.0.1"
pandas = "^2.2.1"
xlrd = "^2.0.1"
pydantic = "^2.6.3"
backoff = "^2.2.1"
requests = "^2.31.0"
pydantic-settings = "^2.2.1"
mytardis-rocrate-builder = {git = "https://github.com/JLoveUOA/mytardis_rocrate_builder"}
ro-crate-py = {git = "https://github.com/UoA-eResearch/ro-crate-py.git", branch = "encrypted-metadata"}
openpyxl = "^3.1.5"
click = "^8.1.7"
pre-commit = "^3.8.0"
[tool.poetry.group.test.dependencies]
pytest = "^8.0.2"
faker = "^27.4.0"
responses = "^0.25.3"
[tool.poetry.group.dev.dependencies]
pylint = "^3.1.0"
flake8 = "^6.1.0"
flake8-bandit = "^4.1.1"
flake8-mypy = "^17.8.0"
flake8-isort = "^6.1.0"
flake8-black = "^0.3.6"
coverage = {extras = ["toml"], version = "^7.3.1"}
toml = "^0.10.2"
types-python-slugify = "^8.0.0.3"
deptry = "^0.16.2"
[tool.isort]
profile = "black"
[tool.mypy]
files = [
"**/*.py"
]
ignore_missing_imports = true
exclude = [
"^tests/.*$",
"^docs/.*$",
"^hackday-ro-crate/.*$"
]
strict = true
[tool.flake8]
max-line-length = 88
extend-ignore = "E203"
[tool.bandit.assert_used]
skips = ["tests/*", "test_*.py"]
[tool.coverage.run]
omit = [
"tests/*",
"docs/*",
"src/specific_implementations/*",
"src/helpers/*"
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
ro_crate_builder = "src.cli.main:cli"