-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
117 lines (103 loc) · 3.03 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[project]
name = "osc-extraction-utils"
version = "0.1.0"
description = "OS-Climate Data Extraction Tool"
authors = [
{name = "Tobias Watzel", email = "[email protected]"},
]
requires-python = ">=3.9"
readme = "README.rst"
license = {file = "LICENSE.txt"}
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.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Topic :: Office/Business :: Financial",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
]
dependencies = [
"pytest>=8.0.1",
"pandas==2.0.3",
"typing>=3.7.4.3",
"pydantic>=2.6.1",
"pydantic-settings>=2.2.0",
"requests>=2.31.0",
"boto3>=1.34.44",
"pre-commit>=3.6.2",
"pytest-mock>=3.12.0",
"requests-mock>=1.11.0",
"openpyxl>=3.1.2",
"PyYAML>=6.0.1",
"types-PyYAML>=6.0.12.12",
"mkdocs>=1.5.3",
]
[project.urls]
Homepage = "https://github.com/os-climate/osc-extraction-utils"
Repository = "https://github.com/os-climate/osc-extraction-utils"
Downloads = "https://github.com/os-climate/osc-extraction-utils/releases"
"Bug Tracker" = "https://github.com/os-climate/osc-extraction-utils/issues"
Documentation = "https://github.com/os-climate/osc-extraction-utils/tree/main/docs"
"Source Code" = "https://github.com/os-climate/osc-extraction-utils"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[metadata]
license-files = ["LICENSES.txt"]
[project.scripts]
osc-extraction-utils = "osc_extraction_utils.skeleton:run"
[project.optional-dependencies]
dev = [
"pylint",
"toml",
"yapf",
"pdm"
]
test = [
"pytest",
"pytest-cov",
]
[tool.pdm.scripts]
pre_release = "scripts/dev-versioning.sh"
release = "scripts/release-versioning.sh"
test = "pytest"
tox = "tox"
docs = { shell = "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", "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", "pyproject-flake8"]
[tool.pytest.ini_options]
testpaths = [
"osc_extraction_utils",
]
addopts = "--cov --cov-report html --cov-report term-missing --cov-fail-under 90"
[tool.coverage.run]
source = ["osc_extraction_utils"]
[tool.yapf]
blank_line_before_nested_class_or_def = true
column_limit = 88
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
[tool.flake8]
max-line-length = "120"
extend-ignore = [
"E501",
]
[tool.mypy]
ignore_missing_imports = true