Skip to content

Commit dc4c7e6

Browse files
committed
Improved package settings
1 parent 6cf358f commit dc4c7e6

2 files changed

Lines changed: 51 additions & 16 deletions

File tree

app/requirements.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
streamlit>=1.40.0
2-
numpy>=1.25.2
3-
scikit-learn>=1.5.0
4-
umap-learn>=0.5.7
5-
pandas>=2.1.0
6-
tda-mapper==0.9.0
7-
plotly < 6.0.0
1+
streamlit>=1.40.0,<2.0.0
2+
numpy>=1.25.2,<2.0.0
3+
scikit-learn>=1.5.0,<1.6.0
4+
umap-learn>=0.5.7,>0.6.0
5+
pandas>=2.1.0,<3.0.0
6+
tda-mapper>=0.9.0,<0.10.0
7+
plotly>=6.0.0,<7.0.0

pyproject.toml

Lines changed: 44 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,27 @@ authors = [{ name = "Luca Simi", email = "lucasimi90@gmail.com" }]
1111
maintainers = [{ name = "Luca Simi", email = "lucasimi90@gmail.com" }]
1212
license = { file = "LICENSE" }
1313
classifiers = [
14+
"Intended Audience :: Developers",
15+
"Intended Audience :: Science/Research",
16+
"Topic :: Scientific/Engineering :: Mathematics",
17+
"Topic :: Scientific/Engineering :: Information Analysis",
18+
"Topic :: Scientific/Engineering :: Visualization",
19+
"Topic :: Software Development :: Libraries",
1420
"License :: OSI Approved :: Apache Software License",
1521
"Programming Language :: Python",
16-
"Programming Language :: Python :: 3"
22+
"Programming Language :: Python :: 3",
23+
"Operating System :: OS Independent",
1724
]
1825
keywords = ["tda", "mapper", "topology", "topological data analysis"]
1926
dependencies = [
20-
"matplotlib>=3.3.4",
21-
"networkx>=2.5",
22-
"igraph>=0.11.8",
23-
"numba>=0.54",
24-
"numpy>=1.20.1, <2.0.0",
25-
"plotly>=6.0.0, <7.0.0",
26-
"pyvis>=0.3.2",
27-
"joblib>=1.4.2",
27+
"numpy>=1.20.1,<2.0.0",
28+
"matplotlib>=3.3.4,<4.0.0",
29+
"networkx>=2.5,<3.0.0",
30+
"igraph>=0.11.8,<0.12.0",
31+
"numba>=0.54,<0.60",
32+
"pyvis>=0.3.2,<0.4.0",
33+
"plotly>=6.0.1,<7.0.0",
34+
"joblib>=1.4.2,<2.0.0",
2835
]
2936
requires-python = ">=3.6"
3037

@@ -34,6 +41,8 @@ dev = [
3441
"pandas",
3542
"scikit-learn<1.6.0",
3643
"flake8",
44+
"black[jupyter]",
45+
"isort"
3746
]
3847

3948
[project.urls]
@@ -46,3 +55,29 @@ omit = [
4655
"**/_*.py",
4756
"benchmarks/*.py",
4857
]
58+
59+
[tool.black]
60+
line-length = 88
61+
target-version = ['py36']
62+
skip-string-normalization = false
63+
include = '\.pyi?$'
64+
exclude = '''
65+
/(
66+
\.git
67+
| \.mypy_cache
68+
| \.pytest_cache
69+
| \.venv
70+
| build
71+
| dist
72+
)/
73+
'''
74+
75+
[tool.isort]
76+
profile = "black"
77+
line_length = 88
78+
multi_line_output = 3
79+
include_trailing_comma = true
80+
force_grid_wrap = 0
81+
combine_as_imports = true
82+
skip = ["venv", ".venv", "build", "dist"]
83+

0 commit comments

Comments
 (0)