-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
84 lines (77 loc) · 2.12 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
[build-system]
requires = ["setuptools>=42", "setuptools_scm[toml]>=3.4" ]
build-backend = "setuptools.build_meta"
[project]
name = "friendly_data"
version = "0.3.3"
description = "A frictionless datapackage (https://frictionlessdata.io/specs/data-package/) implementation for energy system data."
readme = "README.rst"
urls = {"repository" = "https://github.com/sentinel-energy/friendly_data"}
keywords = ["datapackage", "frictionless", "energy", "data", "SENTINEL", "archive"]
license = {"file" = "LICENSE"}
requires-python = ">=3.7"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"fire",
"frictionless>=4.23",
"friendly-data-registry",
"glom>=19.10,<22",
"jinja2",
"numexpr",
"numpy",
"pandas>=1.3",
"pyyaml",
"requests",
"rich",
"tabulate",
"xarray",
]
optional-dependencies = {"extras" = ["pyam-iamc", "pandas-profiling"]}
# [tool.setuptools_scm]
# write_to = "friendly_data/version.py"
[tool.pytest.ini_options]
# used for pytest>=6.0, see: https://github.com/pytest-dev/pytest/pull/7247
addopts = "-ra -q"
# --cov=friendly_data # disable coverage by default locally
# --doctest-modules --doctest-continue-on-failure
[tool.coverage.run]
omit = ["*/__init__.py", "*/__main__.py", "*/_types.py"]
[tool.mypy]
ignore_missing_imports = true
files = "friendly_data"
[tool.black]
# line-length = 79
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.github
| \.mypy_cache
| \.pytest_cache
| \.vscode
| _build
| build
| dist
| .*\.egg-info
# directories without python source files
| testing/data
| tmp
| htmlcov
| dsts
)/
'''