-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (75 loc) · 2.17 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (75 loc) · 2.17 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
75
76
77
78
79
80
81
82
83
84
###############################################
# Build system and project metadata (PEP 621) #
###############################################
[build-system]
requires = ["setuptools>=69", "wheel"]
# Use an in-tree backend wrapper so we can run a pre-build step
build-backend = "backend"
backend-path = ["_custom_build"]
[project]
name = "ESMBenchmarkViz"
description = "A Python toolkit for interactive visualizations for Earth System Model evaluation and benchmarking"
readme = "README.md"
requires-python = ">=3.10,<3.14"
license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
]
dynamic = ["version"]
dependencies = [
"numpy",
"bokeh",
"matplotlib",
"pandas",
]
[project.urls]
Homepage = "https://github.com/PCMDI/ESMBenchmarkViz"
[tool.setuptools.packages.find]
include = ["ESMBenchmarkViz*"]
exclude = ["tests", "misc_scripts", "docs", "_custom_build", "conda-env"]
[tool.setuptools.dynamic]
version = { attr = "ESMBenchmarkViz._version.__version__" }
#########################
# Lint/Test configuration
#########################
[tool.black]
line-length = 88
target-version = ['py310', 'py311', 'py312', 'py313']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.idea
| venv
| _build
| buck-out
| build
| dist
| docs
| config
)/
)
'''
[tool.isort]
# Docs: https://pycqa.github.io/isort/docs/configuration/options.html#example-pyprojecttoml_4
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
[tool.pytest.ini_options]
# Docs: https://docs.pytest.org/en/7.2.x/reference/customize.html#configuration
junit_family = "xunit2"
addopts = "--cov=ESMBenchmarkViz --cov-report term --cov-report html:tests_coverage_reports/htmlcov --cov-report xml:tests_coverage_reports/coverage.xml -s --ignore tests/deprecated"
python_files = ["tests.py", "test_*.py"]