1- [tool .poetry ]
1+ [build-system ]
2+ requires = [" setuptools" , " wheel" , " setuptools-rust" ]
3+
4+ [project ]
25name = " tsdownsample"
3- version = " 0.1.0a0"
6+ version = " 0.1.0a1"
7+ requires-python = " >=3.7"
48description = " Time series downsampling in rust"
5- authors = [" Jeroen Van Der Donckt" ]
9+ authors = [{ name = " Jeroen Van Der Donckt" } ]
610readme = " README.md"
7- license = " MIT"
8- repository = " https://github.com/predict-idlab/tsdownsample"
11+ license = {text = " MIT" }
912keywords = [" time series" , " downsampling" , " rust" , " data science" , " visualization" ]
13+ classifiers = [
14+ ' Intended Audience :: Developers' ,
15+ ' License :: OSI Approved :: MIT License' ,
16+ ' Intended Audience :: Developers' ,
17+ ' Programming Language :: Python :: 3' ,
18+ ' Programming Language :: Python :: 3.6' , # TODO?
19+ ' Programming Language :: Python :: 3.7' ,
20+ ' Programming Language :: Python :: 3.8' ,
21+ ' Programming Language :: Python :: 3.9' ,
22+ ' Programming Language :: Python :: 3.10' ,
23+ ' Programming Language :: Python :: 3.11' ,
24+ ' Operating System :: POSIX' ,
25+ ' Operating System :: MacOS :: MacOS X' ,
26+ ' Operating System :: Microsoft :: Windows'
27+ ]
28+
29+ [project .urls ]
30+ homepage = " https://github.com/predict-idlab/tsdownsample"
31+ repository = " https://github.com/predict-idlab/tsdownsample"
1032
11- [tool .poetry .dependencies ]
12- python = " ^3.7.1"
13- numpy = " >=1.21"
14- pandas = " >=1.3"
33+ # Build Python bindings for rust
34+ [tool .maturin ]
35+ bindings = " pyo3"
1536
16- [tool .poetry .dev-dependencies ]
37+ # Linting
38+ [tool .ruff ]
39+ line-length = 88
40+ extend-select = [" Q" ]
41+ ignore = [" E402" , " F403" ]
1742
18- [build-system ]
19- requires = [" poetry-core>=1.0.0" ]
20- build-backend = " poetry.core.masonry.api"
43+ # Formatting
44+ [tool .black ]
45+ color = true
46+ line-length = 88
47+ skip-string-normalization = true
48+ skip-magic-trailing-comma = true
49+
50+ # Sort imports
51+ [tool .isort ]
52+ line_length = 88
53+ known_first_party = [" tsdownsample" ]
54+ multi_line_output = 3
55+ include_trailing_comma = true
56+ force_grid_wrap = 0
57+ combine_as_imports = true
58+ color_output = true
59+ skip = " tests/toml_test.py"
60+
61+ # Static typing
62+ [tool .mypy ]
63+ follow_imports = " normal"
64+ strict_optional = true
65+ warn_redundant_casts = true
66+ warn_unused_ignores = true
67+ check_untyped_defs = true
68+ no_implicit_reexport = true
69+ disallow_untyped_defs = true
70+ disallow_any_generics = false
71+ ignore_missing_imports = true
0 commit comments