-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (88 loc) · 2.04 KB
/
pyproject.toml
File metadata and controls
105 lines (88 loc) · 2.04 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Project build file
[build-system]
requires = ['setuptools']
build-backend = 'setuptools.build_meta'
[project]
version = '0.2.2'
name = 'xarray-histogram'
authors = [
{name='Clément Haëck', email='clement.haeck@posteo.net'}
]
description = 'Compute histograms from XArray data.'
readme = 'README.md'
requires-python = '>=3.11'
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.11',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Utilities'
]
dependencies = [
'boost-histogram',
'numpy',
'xarray'
]
[project.optional-dependencies]
full = [
'dask',
'scipy'
]
dev = [
'dask',
'scipy',
'sphinx',
'sphinx-book-theme',
'ruff',
'mypy>=1.5',
'pytest>=7.4',
'coverage',
'pytest-cov'
]
tests = [
'dask',
'scipy',
'pytest>=7.4',
'coverage',
'pytest-cov'
]
[project.urls]
'Source' = 'https://github.com/Descanonge/xarray-histogram'
'Documentation' = 'https://xarray-histogram.readthedocs.io'
[tool.mypy]
disable_error_code = ['annotation-unchecked']
# allow_untyped_defs = true
ignore_missing_imports = true
[tool.ruff]
line-length = 88
target-version = 'py311'
[tool.ruff.format]
quote-style = 'double'
[tool.ruff.lint]
ignore = [
'E226', # missing whitespace around arithmetic operator
'D204', # one blank line after class
'D213', # multiline docstring start at 2nd line
'D417', # not all parameters need doc
]
select = [
'E', # pycodestyle
'W', # pycodestyle
'I', # isort
'N', # pep8-name
'B', # bugbear
'G', # flake8-logging-format
'F', # pyflakes
'UP', #pyupgrade
'D', #pydocstyle
'PL', #pylint
]
unfixable = ["F401"]
[tool.ruff.lint.pycodestyle]
max-line-length = 90
[tool.ruff.lint.pydocstyle]
convention = 'numpy'