File tree Expand file tree Collapse file tree 3 files changed +13
-28
lines changed Expand file tree Collapse file tree 3 files changed +13
-28
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ mydask.png
1010dask-hlg.svg
1111
1212# setuptools_scm generated
13- src /dask_histogram /_version .py
13+ src /dask_histogram /version .py
1414
1515# Byte-compiled / optimized / DLL files
1616__pycache__ /
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [
3- " hatchling>=1.8.0" ,
4- ]
2+ requires = [" hatchling>=1.8.0" , " hatch-vcs" ]
53build-backend = " hatchling.build"
64
75[project ]
@@ -31,9 +29,7 @@ dependencies = [
3129 " boost-histogram>=1.2.0" ,
3230 " dask>=2021.03.0" ,
3331]
34- dynamic = [
35- " version" ,
36- ]
32+ dynamic = [" version" ]
3733
3834[project .optional-dependencies ]
3935complete = [
@@ -62,33 +58,27 @@ Documentation = "https://dask-histogram.readthedocs.io/"
6258"Bug Tracker" = " https://github.com/dask-contrib/dask-histogram/issues"
6359
6460[tool .hatch .version ]
61+ source = " vcs"
6562path = " src/dask_histogram/__init__.py"
6663
64+ [tool .hatch .build .hooks .vcs ]
65+ version-file = " src/dask_histogram/version.py"
66+
6767[tool .hatch .build .targets .sdist ]
68- include = [
69- " /src" ,
70- ]
68+ include = [" /src" ]
7169
7270[tool .pytest .ini_options ]
7371addopts = " -v"
74- testpaths = [
75- " tests" ,
76- ]
72+ testpaths = [" tests" ]
7773
7874[tool .isort ]
7975profile = " black"
8076line_length = 88
81- src_paths = [
82- " src" ,
83- " tests" ,
84- ]
77+ src_paths = [" src" , " tests" ]
8578
8679[tool .mypy ]
8780python_version = " 3.8"
88- files = [
89- " src" ,
90- " tests" ,
91- ]
81+ files = [" src" , " tests" ]
9282warn_unused_configs = true
9383show_error_codes = true
9484allow_incomplete_defs = false
@@ -100,9 +90,7 @@ warn_unused_ignores = true
10090warn_unreachable = true
10191
10292[[tool .mypy .overrides ]]
103- module = [
104- " tlz.*" ,
105- ]
93+ module = [" tlz.*" ]
10694ignore_missing_imports = true
10795
10896[tool .pydocstyle ]
Original file line number Diff line number Diff line change 55
66from dask_histogram .core import AggHistogram , PartitionedHistogram , factory
77from dask_histogram .routines import histogram , histogram2d , histogramdd
8-
9- __version__ = "2022.8.0"
10- version_info = tuple (__version__ .split ("." ))
11-
8+ from dask_histogram .version import __version__
129
1310axis = _axis
1411"""
You can’t perform that action at this time.
0 commit comments