@@ -5,47 +5,125 @@ description = "Retail Data Science Tools"
55requires-python = " >=3.10,<3.13"
66readme = " README.md"
77license = " Elastic-2.0"
8- dependencies = [ " pandas>=2.1.4,<3" , " pyarrow>=14.0.2,<15" , " matplotlib>=3.9.1,<4" , " numpy>=1.26.3,<2" , " loguru>=0.7.2,<0.8" , " tqdm>=4.66.1,<5" , " scipy>=1.13.0,<2" , " scikit-learn>=1.4.2,<2" , " matplotlib-set-diagrams~=0.0.2" , " toml>=0.10.2,<0.11" , " duckdb>=1.0.0,<2" , " graphviz>=0.20.3,<0.21" , " ibis-framework[duckdb]>=9.5.0,<10" ,]
8+ dependencies = [
9+ " pandas>=2.1.4,<3" ,
10+ " pyarrow>=14.0.2,<15" ,
11+ " matplotlib>=3.9.1,<4" ,
12+ " numpy>=1.26.3,<2" ,
13+ " loguru>=0.7.2,<0.8" ,
14+ " tqdm>=4.66.1,<5" ,
15+ " scipy>=1.13.0,<2" ,
16+ " scikit-learn>=1.4.2,<2" ,
17+ " matplotlib-set-diagrams~=0.0.2" ,
18+ " toml>=0.10.2,<0.11" ,
19+ " duckdb>=1.0.0,<2" ,
20+ " graphviz>=0.20.3,<0.21" ,
21+ " ibis-framework[duckdb]>=9.5.0,<10" ,
22+ ]
923[[project .authors ]]
1024name = " Murray Vanwyk"
1125email = " 2493311+mvanwyk@users.noreply.github.com"
1226
1327[dependency-groups ]
14- dev = [ " pytest>=8.0.0,<9" , " pytest-cov>=4.1.0,<5" , " nbstripout>=0.7.1,<0.8" , " ruff>=0.4.8,<0.5" , " pre-commit>=3.6.2,<4" , " pytest-mock>=3.14.0,<4" ,]
15- examples = [ " jupyterlab>=4.2.5,<5" , " tqdm>=4.66.1,<5" ,]
16- docs = [ " mkdocs-material>=9.5.4,<10" , " mkdocstrings[python]>=0.24.0,<0.25" , " mkdocs>=1.5.3,<2" , " mkdocs-jupyter>=0.24.6,<0.25" ,]
28+ dev = [
29+ " pytest>=8.0.0,<9" ,
30+ " pytest-cov>=4.1.0,<5" ,
31+ " nbstripout>=0.7.1,<0.8" ,
32+ " ruff>=0.9,<0.10" ,
33+ " pre-commit>=3.6.2,<4" ,
34+ " pytest-mock>=3.14.0,<4" ,
35+ ]
36+ examples = [" jupyterlab>=4.2.5,<5" , " tqdm>=4.66.1,<5" ]
37+ docs = [
38+ " mkdocs-material>=9.5.4,<10" ,
39+ " mkdocstrings[python]>=0.24.0,<0.25" ,
40+ " mkdocs>=1.5.3,<2" ,
41+ " mkdocs-jupyter>=0.24.6,<0.25" ,
42+ ]
1743
1844[build-system ]
19- requires = [ " hatchling" , ]
45+ requires = [" hatchling" ]
2046build-backend = " hatchling.build"
2147
2248[tool .uv ]
23- default-groups = [ " dev" , " examples" , " docs" , ]
49+ default-groups = [" dev" , " examples" , " docs" ]
2450
2551[tool .ruff ]
2652target-version = " py310"
2753line-length = 120
2854show-fixes = true
2955
3056[tool .ruff .lint ]
31- ignore = [ " ANN101" , " ANN102" , " EM101" , " TRY003" , " PT011" , " PTH123" , " SLF001" ,]
32- select = [ " A" , " ANN" , " ARG" , " B" , " BLE" , " C4" , " C90" , " COM" , " D" , " D1" , " D2" , " D3" , " D4" , " DTZ" , " EM" , " ERA" , " EXE" , " F" , " FA" , " FLY" , " G" , " I" , " ICN" , " INP" , " INT" , " ISC" , " N" , " NPY" , " PERF" , " PGH" , " PIE" , " PL" , " PT" , " PTH" , " PYI" , " Q" , " RET" , " RUF" , " RSE" , " S" , " SIM" , " SLF" , " SLOT" , " T10" , " T20" , " TCH" , " TID" , " TRY" , " UP" , " W" , " YTT" ,]
57+ ignore = [" ANN101" , " ANN102" , " EM101" , " TRY003" , " PT011" , " PTH123" , " SLF001" ]
58+ select = [
59+ " A" ,
60+ " ANN" ,
61+ " ARG" ,
62+ " B" ,
63+ " BLE" ,
64+ " C4" ,
65+ " C90" ,
66+ " COM" ,
67+ " D" ,
68+ " D1" ,
69+ " D2" ,
70+ " D3" ,
71+ " D4" ,
72+ " DTZ" ,
73+ " EM" ,
74+ " ERA" ,
75+ " EXE" ,
76+ " F" ,
77+ " FA" ,
78+ " FLY" ,
79+ " G" ,
80+ " I" ,
81+ " ICN" ,
82+ " INP" ,
83+ " INT" ,
84+ " ISC" ,
85+ " N" ,
86+ " NPY" ,
87+ " PERF" ,
88+ " PGH" ,
89+ " PIE" ,
90+ " PL" ,
91+ " PT" ,
92+ " PTH" ,
93+ " PYI" ,
94+ " Q" ,
95+ " RET" ,
96+ " RUF" ,
97+ " RSE" ,
98+ " S" ,
99+ " SIM" ,
100+ " SLF" ,
101+ " SLOT" ,
102+ " T10" ,
103+ " T20" ,
104+ " TCH" ,
105+ " TID" ,
106+ " TRY" ,
107+ " UP" ,
108+ " W" ,
109+ " YTT" ,
110+ ]
33111
34112[tool .pytest .ini_options ]
35113addopts = " --cov=pyretailscience --cov-report=term-missing --cov-branch"
36114
37115[tool .coverage .run ]
38116branch = true
39- source = [ " pyretailscience" , ]
117+ source = [" pyretailscience" ]
40118
41119[tool .coverage .report ]
42120show_missing = true
43121skip_covered = true
44122
45123[tool .ruff .lint .per-file-ignores ]
46- "__init__.py" = [ " F401" , " F403" , " F405" , " D104" , ]
47- "tests/*" = [ " ANN" , " ARG" , " INP001" , " S101" , " SLF001" , ]
48- "*.ipynb" = [ " T201" , ]
124+ "__init__.py" = [" F401" , " F403" , " F405" , " D104" ]
125+ "tests/*" = [" ANN" , " ARG" , " INP001" , " S101" , " SLF001" ]
126+ "*.ipynb" = [" T201" ]
49127
50128[tool .ruff .lint .pylint ]
51129max-args = 15
0 commit comments