-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
100 lines (88 loc) · 2.71 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[project]
name = "osc-ingest-tools"
version = "v0.5.5"
description = "OS-Climate Python tools to assist with standardized data ingestion workflows"
authors = [
{ name = "Michael Tiemann", email = "72577720+MichaelTiemannOSC@users.noreply.github.com" },
]
requires-python = "<3.13,>=3.10"
readme = "README.md"
license = { text = "Apache-2.0" }
keywords = ["Climate", "osc-ingest-tools", "Finance"]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Topic :: Office/Business :: Financial",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
]
dependencies = [
"trino[sqlalchemy]>=0.323",
"sqlalchemy>=2.0",
"pandas",
"python-dotenv",
"boto3",
"moto[s3]>=5.0.6",
"boto>=2.49.0",
"mypy-boto3-s3>=1.34.91",
]
[project.urls]
Homepage = "https://github.com/os-climate/osc-ingest-tools"
Repository = "https://github.com/os-climate/osc-ingest-tools"
Downloads = "https://github.com/os-climate/osc-ingest-tools/releases"
"Bug Tracker" = "https://github.com/os-climate/osc-ingest-tools/issues"
Documentation = "https://github.com/os-climate/osc-ingest-tools/tree/main/docs"
"Source Code" = "https://github.com/os-climate/osc-ingest-tools"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.scripts]
pre_release = "scripts/dev-versioning.sh"
release = "scripts/release-versioning.sh"
test = "pytest"
tox = "tox"
docs = { shell = "cd docs && mkdocs serve", help = "Start the dev server for doc preview" }
lint = "pre-commit run --all-files"
complete = { call = "tasks.complete:main", help = "Create autocomplete files for bash and fish" }
[tool.pdm.dev-dependencies]
test = ["pdm[pytest]", "pytest-cov"]
tox = ["tox", "tox-pdm>=0.5"]
docs = ["sphinx>=7.2.6", "sphinx-copybutton>=0.5.2"]
dev = ["tox>=4.11.3", "tox-pdm>=0.7.0"]
lint = ["pre-commit", "tomli"]
[tool.pytest.ini_options]
testpaths = "tests/"
addopts = "-v --cov --cov-report html --cov-report term-missing --cov-fail-under 50"
[tool.black]
line-length = 120
exclude = '''
/(
\.git
| \.tox
| \venv
| \.venv
| \*.env
| \build
| \dist
)/
'''
[tool.isort]
profile = "black"
[tool.mypy]
warn_unreachable = true
ignore_missing_imports = true
[tool.coverage.run]
source = ["osc_ingest_trino"]
omit = ["tests/*"]
relative_files = true
[tool.pydocstyle]